Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion db/db_tunables.h
Original file line number Diff line number Diff line change
Expand Up @@ -1892,7 +1892,7 @@ REGISTER_TUNABLE("physrep_metadb_name", "Physical replication metadb cluster nam
NULL);
REGISTER_TUNABLE("physrep_reconnect_penalty", "Physrep wait seconds before retry to the same node. (Default: 5)",
TUNABLE_INTEGER, &gbl_physrep_reconnect_penalty, 0, NULL, NULL, NULL, NULL);
REGISTER_TUNABLE("physrep_reconnect_interval", "Reconnect interval for physical replicants (Default: 600)",
REGISTER_TUNABLE("physrep_reconnect_interval", "Reconnect interval for physical replicants (Default: 604800)",
TUNABLE_INTEGER, &gbl_physrep_reconnect_interval, 0, NULL, NULL, NULL, NULL);
REGISTER_TUNABLE("physrep_shuffle_host_list",
"Shuffle the host list returned by register_replicant() "
Expand Down
2 changes: 1 addition & 1 deletion db/phys_rep.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ typedef struct DB_Connection {
} while (0)

int gbl_physrep_debug = 0;
int gbl_physrep_reconnect_interval = 3600; // force re-registration every hour
int gbl_physrep_reconnect_interval = 604800; // force re-registration every week
int gbl_physrep_reconnect_penalty = 0;
int gbl_blocking_physrep = 0;
int gbl_physrep_fanout = 8;
Expand Down
2 changes: 1 addition & 1 deletion tests/tunables.test/t00_all_tunables.expected
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@
(name='physrep_metadb_host', description='List of physical replication metadb cluster hosts.', type='STRING', value=NULL, read_only='Y')
(name='physrep_metadb_name', description='Physical replication metadb cluster name.', type='STRING', value=NULL, read_only='Y')
(name='physrep_pollms', description='Physical replicant poll interval in milliseconds. (Default: 200)', type='INTEGER', value='200', read_only='N')
(name='physrep_reconnect_interval', description='Reconnect interval for physical replicants (Default: 600)', type='INTEGER', value='3600', read_only='N')
(name='physrep_reconnect_interval', description='Reconnect interval for physical replicants (Default: 604800)', type='INTEGER', value='604800', read_only='N')
(name='physrep_reconnect_penalty', description='Physrep wait seconds before retry to the same node. (Default: 5)', type='INTEGER', value='0', read_only='N')
(name='physrep_repl_host', description='Current physrep host.', type='STRING', value=NULL, read_only='Y')
(name='physrep_repl_name', description='Current physrep parent.', type='STRING', value=NULL, read_only='Y')
Expand Down