Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit82cdd2d

Browse files
committed
Work a little harder on comments for walsender wakeup patch.
Per gripe from Tom Lane.
1 parentf11e8be commit82cdd2d

File tree

1 file changed

+6
-6
lines changed
  • src/backend/access/transam

1 file changed

+6
-6
lines changed

‎src/backend/access/transam/xlog.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ begin:;
10271027

10281028
END_CRIT_SECTION();
10291029

1030-
/*wakeup the WalSnd now that we releasedthe WALWriteLock */
1030+
/*wake up walsenders now that we've releasedheavily contended locks */
10311031
WalSndWakeupProcessRequests();
10321032
returnRecPtr;
10331033
}
@@ -1212,7 +1212,7 @@ begin:;
12121212

12131213
END_CRIT_SECTION();
12141214

1215-
/*wakeup the WalSnd now that we outside contented locks */
1215+
/*wake up walsenders now that we've released heavily contended locks */
12161216
WalSndWakeupProcessRequests();
12171217

12181218
returnRecPtr;
@@ -1800,7 +1800,7 @@ XLogWrite(XLogwrtRqst WriteRqst, bool flexible, bool xlog_switch)
18001800
{
18011801
issue_xlog_fsync(openLogFile,openLogSegNo);
18021802

1803-
/* signal that we need to wakeupWalSnd later */
1803+
/* signal that we need to wakeupwalsenders later */
18041804
WalSndWakeupRequest();
18051805

18061806
LogwrtResult.Flush=LogwrtResult.Write;/* end of page */
@@ -1868,7 +1868,7 @@ XLogWrite(XLogwrtRqst WriteRqst, bool flexible, bool xlog_switch)
18681868

18691869
issue_xlog_fsync(openLogFile,openLogSegNo);
18701870

1871-
/* signal that we need to wakeupWalSnd later */
1871+
/* signal that we need to wakeupwalsenders later */
18721872
WalSndWakeupRequest();
18731873
}
18741874
LogwrtResult.Flush=LogwrtResult.Write;
@@ -2150,7 +2150,7 @@ XLogFlush(XLogRecPtr record)
21502150

21512151
END_CRIT_SECTION();
21522152

2153-
/*wakeup the WalSnd now that we releasedthe WALWriteLock */
2153+
/*wake up walsenders now that we've releasedheavily contended locks */
21542154
WalSndWakeupProcessRequests();
21552155

21562156
/*
@@ -2278,7 +2278,7 @@ XLogBackgroundFlush(void)
22782278

22792279
END_CRIT_SECTION();
22802280

2281-
/*wakeup the WalSnd now that we releasedthe WALWriteLock */
2281+
/*wake up walsenders now that we've releasedheavily contended locks */
22822282
WalSndWakeupProcessRequests();
22832283

22842284
returnwrote_something;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp