8000 Add mtm.get_last_csn function · postgrespro/postgres_cluster@32b7596 · GitHub
[go: up one dir, main page]

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

Appearance settings

Commit 32b7596

Browse files
committed
Add mtm.get_last_csn function
1 parent e0862d9 commit 32b7596

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/mmts/multimaster.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -828,6 +828,7 @@ MtmEndTransaction(MtmCurrentTrans* x, bool commit)
828828
ts->csn = x->csn;
829829
MtmSyncClock(ts->csn);
830830
}
831+
Mtm->lastCsn = ts->csn;
831832
ts->status = TRANSACTION_STATUS_COMMITTED;
832833
} else {
833834
ts->status = TRANSACTION_STATUS_ABORTED;

0 commit comments

Comments
 (0)
0