8000 Minor addition · pct960/postgres@2c7d40f · GitHub
[go: up one dir, main page]

Skip to content

Commit 2c7d40f

Browse files
committed
Minor addition
1 parent ad9ab56 commit 2c7d40f

File tree

1 file changed

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

1 file changed

+1
-9
lines changed

src/backend/access/transam/xact.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,20 +1364,12 @@ RecordTransactionCommit(void)
13641364
RecentFlushPtr = GetFlushRecPtr(NULL);
13651365
else
13661366
RecentFlushPtr = GetXLogReplayRecPtr(NULL);
1367-
//XLogRecPtr SyncRepMaxLSN = SyncRepGetMAXLSN(mode);
1368-
//WalSndWaitForRep(XLogMaxLSN);
13691367
if(XLogMaxLSN > RecentFlushPtr)
13701368
{
1371-
elog(INFO, "RO waiting for syncrepwaitforlsn");
13721369
SyncRepWaitForLSN(XLogMaxLSN, false);
13731370
elog(INFO, "RO finished waiting for syncrepwaitforlsn!");
13741371
}
1375-
//SyncRepROWait(XLogMaxLSN);
1376-
//request_keepalive = true;
1377-
//SyncRepWaitForLSN(XLogMaxLSN, false);
1378-
//request_keepalive = false;
1379-
1380-
//elog(INFO, "RO txn maxLSN = (%d), RecntFlushPtr value = (%d)", XLogMaxLSN, RecentFlushPtr);
1372+
elog(INFO, "RO txn maxLSN = (%d), RecntFlushPtr value = (%d), XactMaxLSN = (%d)", XLogMaxLSN, RecentFlushPtr, XactMaxLSN);
13811373
}
13821374
if (!wrote_xlog)
13831375
goto cleanup;

0 commit comments

Comments
 (0)
0