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

Commit11d8a7d

Browse files
knizhnikkelvich
authored andcommitted
Fix bug in deadlock detection
1 parent5c26b9d commit11d8a7d

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
@@ -1724,7 +1724,7 @@ MtmSerializeLock(PROCLOCK* proclock, void* arg)
17241724
if ((proclock->holdMask&LOCKBIT_ON(lm))&& (conflictMask&LOCKBIT_ON(lm)))
17251725
{
17261726
MTM_TRACE("%d: %u(%u) waits for %u(%u)\n",MyProcPid,srcPgXact->xid,proc->pid,dstPgXact->xid,proclock->tag.myProc->pid);
1727-
MtmGetGtid(srcPgXact->xid,&gtid);/* transaction holding lock */
1727+
MtmGetGtid(dstPgXact->xid,&gtid);/* transaction holding lock */
17281728
ByteBufferAppendInt32(buf,gtid.node);
17291729
ByteBufferAppendInt32(buf,gtid.xid);
17301730
break;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp