Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit7032011

Browse files
knizhnikkelvich
authored andcommitted
Fix bug in relation replication optimization
1 parent8892eaa commit7032011

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

‎multimaster.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,9 +457,11 @@ csn_t MtmDistributedTransactionSnapshot(TransactionId xid, int nodeId, nodemask_
457457
SnapshotMtmGetSnapshot(Snapshotsnapshot)
458458
{
459459
snapshot=PgGetSnapshotData(snapshot);
460+
#if0
460461
if (snapshot!=&CatalogSnapshotData) {
461462
RecentGlobalDataXmin=RecentGlobalXmin=Mtm->oldestXid;
462463
}
464+
#endif
463465
returnsnapshot;
464466
}
465467

‎pglogical_relid_map.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ bool pglogical_relid_map_put(Oid remote_relid, Oid local_relid)
5858
}
5959
entry=hash_search(relid_map,&remote_relid,HASH_ENTER,&found);
6060
if (found) {
61-
Assert(entry->local_relid==local_relid);
61+
entry->local_relid=local_relid;
6262
return false;
6363
}
6464
entry->local_relid=local_relid;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp