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

Commit32380a1

Browse files
committed
assign csn for local transactions. Fix by kk
1 parent2083132 commit32380a1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎multimaster.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1530,6 +1530,10 @@ MtmEndTransaction(MtmCurrentTrans* x, bool commit)
15301530
ts->csn=x->csn;
15311531
MtmSyncClock(ts->csn);
15321532
}
1533+
if (ts->isLocal)
1534+
{
1535+
ts->csn=MtmAssignCSN();
1536+
}
15331537
Mtm->lastCsn=ts->csn;
15341538
ts->status=TRANSACTION_STATUS_COMMITTED;
15351539
MtmAdjustSubtransactions(ts);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp