|
The proposed new default values are:
- master_reconnection=true
- master_failure_mode=fail_on_write
- strict_tmp_tables=true
- transaction_replay_timeout=30s
With this configuration, node failures only terminate the session if it would prevent some work from being done. Short outages of any node in the cluster would no longer terminate all idle sessions immediately and the ones that aren't in a transaction can potentially survive it. Due to the risk of temporary tables being dropped as a result of the master reconnection, strict_tmp_tables should also be enabled by default.
To make the transaction replay timeouts more consistent, the value of transaction_replay_timeout can be set to a rough average of the minimum and maximum estimated failure times of the previous defaults. The 30 seconds is a reasonable time to expect transactions to be replayed for without being excessively slow.
|