Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7668c14

Browse files
knizhnikkelvich
authored andcommitted
Remove debug assert
1 parent 47f434d commit 7668c14

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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)