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

Commit 6d9b336

Browse files
committed
Do not overwrite CSN of replicated tx. FIXES PGPRO-1022
1 parent 4ecc631 commit 6d9b336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multimaster.c

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

0 commit comments

Comments
 (0)