mirror of
https://github.com/neondatabase/neon.git
synced 2026-06-01 20:40:37 +00:00
pgindent walproposer condvar comment
This commit is contained in:
@@ -1748,8 +1748,8 @@ walprop_pg_wait_event_set(WalProposer *wp, long timeout, Safekeeper **sk, uint32
|
||||
ConditionVariablePrepareToSleep(&WalSndCtl->wal_flush_cv);
|
||||
|
||||
/*
|
||||
* Now that we prepared the condvar, check flush ptr again -- it might have
|
||||
* changed before we subscribed to cv so we missed the wakeup.
|
||||
* Now that we prepared the condvar, check flush ptr again -- it might
|
||||
* have changed before we subscribed to cv so we missed the wakeup.
|
||||
*
|
||||
* Do that only when we're interested in new WAL: without sync-safekeepers
|
||||
* and if election already passed.
|
||||
|
||||
Reference in New Issue
Block a user