Content-Length: 317053 | pFad | http://github.com/postgrespro/postgres_cluster/commit/0479f78a5b644258b9a4aebbef24e8244d4f618c

4D Undo change of node_disable_delay · postgrespro/postgres_cluster@0479f78 · GitHub
Skip to content

Commit 0479f78

Browse files
committed
Undo change of node_disable_delay
1 parent dd13db7 commit 0479f78

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

contrib/mmts/multimaster.c

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

contrib/mmts/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);");

contrib/mmts/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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/0479f78a5b644258b9a4aebbef24e8244d4f618c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy