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

Commit cff9b21

Browse files
committed
seems that there is still a way to leave MtmLockCount uncleaden upon error. Comment out assertion for now.
1 parent 9fb3042 commit cff9b21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multimaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ void MtmLock(LWLockMode mode)
369369
}
370370
#endif
371371
if (mode == LW_EXCLUSIVE) {
372-
Assert(MtmLockCount == 0);
372+
// Assert(MtmLockCount == 0);
373373
Assert(MyProcPid != 0);
374374
Mtm->lastLockHolder = MyProcPid;
375375
Assert(MyProcPid);

0 commit comments

Comments
 (0)