Content-Length: 253217 | pFad | http://github.com/postgrespro/postgres_cluster/commit/6d9b33689c318d744f041ac896d02b9bc3f92a13

1F Do not overwrite CSN of replicated tx. FIXES PGPRO-1022 · postgrespro/postgres_cluster@6d9b336 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/6d9b33689c318d744f041ac896d02b9bc3f92a13

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy