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

Commit2e82abe

Browse files
knizhnikkelvich
authored andcommitted
Undo change of node_disable_delay
1 parentb59ca54 commit2e82abe

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

‎multimaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1694,7 +1694,7 @@ _PG_init(void)
16941694
"Minamal amount of time (msec) between node status change",
16951695
"This delay is used to avoid false detection of node failure and to prevent blinking of node status node",
16961696
&MtmNodeDisableDelay,
1697-
10000,
1697+
1000,
16981698
1,
16991699
INT_MAX,
17001700
PGC_BACKEND,

‎t/001_basic_recovery.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
#sleep(10); # XXX: here we can poll
6464

6565
$cluster->psql(0,'postgres',"select mtm.poll_node(3);");
66+
$cluster->psql(1,'postgres',"select mtm.poll_node(3);");
6667
diag("inserting 3");
6768

6869
$cluster->psql(0,'postgres',"insert into t values(3, 30);");

‎tests/perf.results

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,3 +331,12 @@ Bench finished at Пт. апр. 15 18:43:05 MSK 2016
331331
Bench started at Пт. апр. 15 20:01:20 MSK 2016
332332
astro5:{tps:18310.750502, transactions:1500000, selects:0, updates:3001948, aborts:1897, abort_percent: 0, readers:0, writers:150, update_percent:100, accounts:500000, iterations:10000, hosts:3}
333333
Bench finished at Пт. апр. 15 20:02:42 MSK 2016
334+
Bench started at Чт. мая 5 18:13:53 MSK 2016
335+
336+
Bench finished at Чт. мая 5 18:13:54 MSK 2016
337+
Bench started at Чт. мая 5 18:17:38 MSK 2016
338+
astro5:{tps:17241.207493, transactions:1000000, selects:0, updates:2000766, aborts:383, abort_percent: 0, readers:0, writers:100, update_percent:100, accounts:500000, iterations:10000, hosts:3}
339+
Bench finished at Чт. мая 5 18:18:36 MSK 2016
340+
Bench started at Чт. мая 5 18:22:37 MSK 2016
341+
astro5:{tps:117307.983547, transactions:1000000, selects:2000000, updates:0, aborts:0, abort_percent: 0, readers:0, writers:100, update_percent:0, accounts:500000, iterations:10000, hosts:3}
342+
Bench finished at Чт. мая 5 18:22:46 MSK 2016

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp