【3.0分支回合master】支持增量build时校验主备达成多数派一致性的位置

This commit is contained in:
cchen676
2022-07-26 14:30:37 +08:00
committed by arcoalien@qq.com
parent 69ba6cc99d
commit f9367d72bb
17 changed files with 345 additions and 3 deletions

View File

@ -185,6 +185,7 @@ struct PGPROC {
int syncRepState; /* wait state for sync rep */
bool syncRepInCompleteQueue; /* waiting in complete queue */
SHM_QUEUE syncRepLinks; /* list link if process is in syncrep queue */
XLogRecPtr syncSetConfirmedLSN; /* set confirmed LSN for SyncRepWaitForLSN */
XLogRecPtr waitPaxosLSN; /* waiting for this LSN or higher on paxos callback */
int syncPaxosState; /* wait state for sync paxos, reuse syncRepState defines */