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

Commit976250e

Browse files
committed
also fix possible overflow in MtmMinRecoveryLag
1 parenta422a23 commit976250e

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
@@ -2100,7 +2100,7 @@ void MtmCheckRecoveryCaughtUp(int nodeId, lsn_t slotLSN)
21002100
if (MtmIsRecoveredNode(nodeId)) {
21012101
lsn_twalLSN=GetXLogInsertRecPtr();
21022102
if (!BIT_CHECK(Mtm->originLockNodeMask,nodeId-1)
2103-
&&slotLSN+MtmMinRecoveryLag*1024>walLSN)
2103+
&&slotLSN+(long64)MtmMinRecoveryLag*1024>walLSN)
21042104
{
21052105
/*
21062106
* Wal sender almost caught up.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp