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

Commit946a0e3

Browse files
author
Andrei Krichinin
committed
extra logs for gather
1 parent5fe8013 commit946a0e3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎src/multimaster.c‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2043,6 +2043,7 @@ gather(nodemask_t participants,
20432043
int*sendconn_cnt,uint64gen_num)
20442044
{
20452045
time_tstart;
2046+
boolto= false;
20462047
*msg_count=0;
20472048

20482049
start=time(NULL);
@@ -2059,8 +2060,9 @@ gather(nodemask_t participants,
20592060

20602061
current=time(NULL);
20612062

2062-
if (current-start>5) {
2063+
if (current-start>3) {
20632064
elog(LOG,"----> gather timeout");
2065+
to= true;
20642066
//return false;
20652067
}
20662068

@@ -2117,7 +2119,8 @@ gather(nodemask_t participants,
21172119
}
21182120

21192121
}
2120-
//elog(LOG, "----> gather 2");
2122+
if (to)
2123+
elog(LOG,"----> gather end");
21212124
return true;
21222125
}
21232126

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp