Use 100 as the default priority; 0 or less means node will never be promoted

This commit is contained in:
Ian Barwick
2015-03-26 10:38:20 +09:00
parent 15a531fed8
commit 3e621f43d1
7 changed files with 38 additions and 20 deletions

View File

@@ -44,7 +44,7 @@ INSERT INTO repl_nodes
cluster,
name,
conninfo,
priority
priority + 100
FROM repl_nodes2_0;
/*