Content-Length: 279181 | pFad | http://github.com/postgrespro/postgres_cluster/commit/980a95d38b14851ea7beabcd5295275e3f82a11b
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dc4c32 commit 980a95dCopy full SHA for 980a95d
contrib/mmts/multimaster.c
@@ -737,8 +737,9 @@ MtmResetTransaction()
737
x->isPrepared = false;
738
x->isSuspended = false;
739
x->isTwoPhase = false;
740
- x->csn =
+ x->csn = INVALID_CSN;
741
x->status = TRANSACTION_STATUS_UNKNOWN;
742
+ x->gid[0] = '\0';
743
}
744
745
@@ -1177,7 +1178,7 @@ MtmEndTransaction(MtmCurrentTrans* x, bool commit)
1177
1178
: ts->status == TRANSACTION_STATUS_COMMITTED ? "committed" : "not prepared",
1179
ts->xid, ts->gid);
1180
- Assert(ts->xid != 10000);
1181
+ //Assert(ts->xid != 10000);
1182
if (x->csn > ts->csn || Mtm->status == MTM_RECOVERY) {
1183
Assert(x->csn != INVALID_CSN);
1184
ts->csn = x->csn;
Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/980a95d38b14851ea7beabcd5295275e3f82a11b
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments