Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
a93bdfc7
Commit
a93bdfc7
authored
Sep 03, 2013
by
Heikki Linnakangas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in comment.
Also line-wrap an over-wide line in a comment that's ignored by pgindent.
parent
79daaa3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/backend/replication/syncrep.c
src/backend/replication/syncrep.c
+4
-3
No files found.
src/backend/replication/syncrep.c
View file @
a93bdfc7
...
...
@@ -21,8 +21,9 @@
*
* Replication is either synchronous or not synchronous (async). If it is
* async, we just fastpath out of here. If it is sync, then we wait for
* the write or flush location on the standby before releasing the waiting backend.
* Further complexity in that interaction is expected in later releases.
* the write or flush location on the standby before releasing the waiting
* backend. Further complexity in that interaction is expected in later
* releases.
*
* The best performing way to manage the waiting backends is to have a
* single ordered queue of waiting backends, so that we can avoid
...
...
@@ -116,7 +117,7 @@ SyncRepWaitForLSN(XLogRecPtr XactCommitLSN)
* set. See SyncRepUpdateSyncStandbysDefined.
*
* Also check that the standby hasn't already replied. Unlikely race
* condition but we'll be fetching that cache line anyway so its likely to
* condition but we'll be fetching that cache line anyway so it
'
s likely to
* be a low cost check.
*/
if
(
!
WalSndCtl
->
sync_standbys_defined
||
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment