Skip to content

Commit 48f2677

Browse files
author
Ubuntu
committed
Removed unnecessary check
1 parent 6fa04b3 commit 48f2677

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

src/backend/access/transam/xact.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1381,7 +1381,7 @@ RecordTransactionCommit(void)
13811381

13821382
if(maxLSN > remoteFlushLSN && remoteFlushLSN > 0)
13831383
should_wait = true;
1384-
else if(maxLSN == remoteFlushLSN || remoteFlushLSN == 0)
1384+
else if(remoteFlushLSN == 0)
13851385
should_wait = pg_stat_should_wait();
13861386

13871387
if(should_wait)

0 commit comments

Comments
 (0)