Skip to content

Commit 980a95d

Browse files
committed
Remove debug assert
1 parent 8dc4c32 commit 980a95d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

contrib/mmts/multimaster.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -737,8 +737,9 @@ MtmResetTransaction()
737737
x->isPrepared = false;
738738
x->isSuspended = false;
739739
x->isTwoPhase = false;
740-
x->csn =
740+
x->csn = INVALID_CSN;
741741
x->status = TRANSACTION_STATUS_UNKNOWN;
742+
x->gid[0] = '\0';
742743
}
743744

744745

@@ -1177,7 +1178,7 @@ MtmEndTransaction(MtmCurrentTrans* x, bool commit)
11771178
: ts->status == TRANSACTION_STATUS_COMMITTED ? "committed" : "not prepared",
11781179
ts->xid, ts->gid);
11791180
}
1180-
Assert(ts->xid != 10000);
1181+
//Assert(ts->xid != 10000);
11811182
if (x->csn > ts->csn || Mtm->status == MTM_RECOVERY) {
11821183
Assert(x->csn != INVALID_CSN);
11831184
ts->csn = x->csn;

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