Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d3c47cf

Browse files
committed
Do not overwrite CSN of replicated tx. FIXES PGPRO-1022
1 parent a55a21a commit d3c47cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/mmts/multimaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ MtmEndTransaction(MtmCurrentTrans* x, bool commit)
15411541
ts->csn = x->csn;
15421542
MtmSyncClock(ts->csn);
15431543
}
1544-
if (ts->isLocal)
1544+
if (ts->isLocal && !x->isReplicated)
15451545
{
15461546
ts->csn = MtmAssignCSN();
15471547
}

0 commit comments

Comments
 (0)