END_CRIT_SECTION();
- /* wakeup the WalSnd now that we released the WALWriteLock */
+ /* wake up walsenders now that we've released heavily contended locks */
WalSndWakeupProcessRequests();
return RecPtr;
}
END_CRIT_SECTION();
- /* wakeup the WalSnd now that we outside contented locks */
+ /* wake up walsenders now that we've released heavily contended locks */
WalSndWakeupProcessRequests();
return RecPtr;
{
issue_xlog_fsync(openLogFile, openLogSegNo);
- /* signal that we need to wakeup WalSnd later */
+ /* signal that we need to wakeup walsenders later */
WalSndWakeupRequest();
LogwrtResult.Flush = LogwrtResult.Write; /* end of page */
issue_xlog_fsync(openLogFile, openLogSegNo);
- /* signal that we need to wakeup WalSnd later */
+ /* signal that we need to wakeup walsenders later */
WalSndWakeupRequest();
}
LogwrtResult.Flush = LogwrtResult.Write;
END_CRIT_SECTION();
- /* wakeup the WalSnd now that we released the WALWriteLock */
+ /* wake up walsenders now that we've released heavily contended locks */
WalSndWakeupProcessRequests();
/*
END_CRIT_SECTION();
- /* wakeup the WalSnd now that we released the WALWriteLock */
+ /* wake up walsenders now that we've released heavily contended locks */
WalSndWakeupProcessRequests();
return wrote_something;