修复备机读组获取快照死锁问题Offering: openGaussDevMore detail: standby read

Match-id-06894f7e495d72c5763653105cbd2c8eee989c81
This commit is contained in:
openGaussDev
2024-08-06 14:45:33 +08:00
committed by yanghao
parent f9b5322111
commit f5d45bdf68
3 changed files with 27 additions and 1 deletions

View File

@ -410,6 +410,7 @@ extern void RangeForgetBuffer(RelFileNode node, ForkNumber forkNum, BlockNumber
extern void DropSegRelNodeSharedBuffer(RelFileNode node, ForkNumber forkNum);
extern int GetThreadBufferLeakNum(void);
extern bool CheckForBufferPin(void);
extern void flush_all_buffers(Relation rel, Oid db_id, HTAB *hashtbl = NULL);
/* in localbuf.c */
extern void ForgetLocalBuffer(RelFileNode rnode, ForkNumber forkNum, BlockNumber blockNum);