Skip to content

Commit 768f076

Browse files
knizhnikkelvich
authored andcommitted
Add special handling for catalog snapshot
1 parent 31cd179 commit 768f076

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

multimaster.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,9 @@ csn_t MtmDistributedTransactionSnapshot(TransactionId xid, int nodeId, nodemask_
457457
Snapshot MtmGetSnapshot(Snapshot snapshot)
458458
{
459459
snapshot = PgGetSnapshotData(snapshot);
460-
RecentGlobalDataXmin = RecentGlobalXmin = Mtm->oldestXid;
460+
if (snapshot != &CatalogSnapshotData) {
461+
RecentGlobalDataXmin = RecentGlobalXmin = Mtm->oldestXid;
462+
}
461463
return snapshot;
462464
}
463465

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy