@@ -1027,7 +1027,7 @@ begin:;
1027
1027
1028
1028
END_CRIT_SECTION ();
1029
1029
1030
- /* wakeup the WalSnd now that we released the WALWriteLock */
1030
+ /* wake up walsenders now that we've released heavily contended locks */
1031
1031
WalSndWakeupProcessRequests ();
1032
1032
return RecPtr ;
1033
1033
}
@@ -1212,7 +1212,7 @@ begin:;
1212
1212
1213
1213
END_CRIT_SECTION ();
1214
1214
1215
- /* wakeup the WalSnd now that we outside contented locks */
1215
+ /* wake up walsenders now that we've released heavily contended locks */
1216
1216
WalSndWakeupProcessRequests ();
1217
1217
1218
1218
return RecPtr ;
@@ -1800,7 +1800,7 @@ XLogWrite(XLogwrtRqst WriteRqst, bool flexible, bool xlog_switch)
1800
1800
{
1801
1801
issue_xlog_fsync (openLogFile , openLogSegNo );
1802
1802
1803
- /* signal that we need to wakeup WalSnd later */
1803
+ /* signal that we need to wakeup walsenders later */
1804
1804
WalSndWakeupRequest ();
1805
1805
1806
1806
LogwrtResult .Flush = LogwrtResult .Write ; /* end of page */
@@ -1868,7 +1868,7 @@ XLogWrite(XLogwrtRqst WriteRqst, bool flexible, bool xlog_switch)
1868
1868
1869
1869
issue_xlog_fsync (openLogFile , openLogSegNo );
1870
1870
1871
- /* signal that we need to wakeup WalSnd later */
1871
+ /* signal that we need to wakeup walsenders later */
1872
1872
WalSndWakeupRequest ();
1873
1873
}
1874
1874
LogwrtResult .Flush = LogwrtResult .Write ;
@@ -2150,7 +2150,7 @@ XLogFlush(XLogRecPtr record)
2150
2150
2151
2151
END_CRIT_SECTION ();
2152
2152
2153
- /* wakeup the WalSnd now that we released the WALWriteLock */
2153
+ /* wake up walsenders now that we've released heavily contended locks */
2154
2154
WalSndWakeupProcessRequests ();
2155
2155
2156
2156
/*
@@ -2278,7 +2278,7 @@ XLogBackgroundFlush(void)
2278
2278
2279
2279
END_CRIT_SECTION ();
2280
2280
2281
- /* wakeup the WalSnd now that we released the WALWriteLock */
2281
+ /* wake up walsenders now that we've released heavily contended locks */
2282
2282
WalSndWakeupProcessRequests ();
2283
2283
2284
2284
return wrote_something ;
0 commit comments