use session_timeout as session timeout uper bound

This commit is contained in:
JackyWoo 2021-12-30 17:18:51 +08:00
parent 19b5394be8
commit 569ce62e8d
77 changed files with 79 additions and 82 deletions

View File

@ -37,7 +37,7 @@ Internal coordination settings are located in `<keeper_server>.<coordination_set
- `operation_timeout_ms` — Timeout for a single client operation (ms) (default: 10000).
- `min_session_timeout_ms` — Min timeout for client session (ms) (default: 10000).
- `max_session_timeout_ms` — Max timeout for client session (ms) (default: 100000).
- `session_timeout_ms` — Max timeout for client session (ms) (default: 100000).
- `dead_session_check_period_ms` — How often ClickHouse Keeper check dead sessions and remove them (ms) (default: 500).
- `heart_beat_interval_ms` — How often a ClickHouse Keeper leader will send heartbeats to followers (ms) (default: 500).
- `election_timeout_lower_bound_ms` — If the follower didn't receive heartbeats from the leader in this interval, then it can initiate leader election (default: 1000).

View File

@ -39,7 +39,7 @@
<coordination_settings>
<operation_timeout_ms>10000</operation_timeout_ms>
<min_session_timeout_ms>10000</min_session_timeout_ms>
<max_session_timeout_ms>100000</max_session_timeout_ms>
<session_timeout_ms>100000</session_timeout_ms>
<raft_logs_level>information</raft_logs_level>
<!-- All settings listed in https://github.com/ClickHouse/ClickHouse/blob/master/src/Coordination/CoordinationSettings.h -->
</coordination_settings>

View File

@ -47,7 +47,7 @@ static constexpr int32_t PASSWORD_LENGTH = 16;
/// ZooKeeper has 1 MB node size and serialization limit by default,
/// but it can be raised up, so we have a slightly larger limit on our side.
static constexpr int32_t MAX_STRING_OR_ARRAY_SIZE = 1 << 28; /// 256 MiB
static constexpr int32_t DEFAULT_SESSION_TIMEOUT_MS = 10000;
static constexpr int32_t DEFAULT_SESSION_TIMEOUT_MS = 30000;
static constexpr int32_t DEFAULT_MIN_SESSION_TIMEOUT_MS = 10000;
static constexpr int32_t DEFAULT_MAX_SESSION_TIMEOUT_MS = 100000;
static constexpr int32_t DEFAULT_OPERATION_TIMEOUT_MS = 10000;

View File

@ -96,8 +96,8 @@ void KeeperConfigurationAndSettings::dump(WriteBufferFromOwnString & buf) const
write_int(coordination_settings->max_requests_batch_size);
writeText("min_session_timeout_ms=", buf);
write_int(uint64_t(coordination_settings->min_session_timeout_ms));
writeText("max_session_timeout_ms=", buf);
write_int(uint64_t(coordination_settings->max_session_timeout_ms));
writeText("session_timeout_ms=", buf);
write_int(uint64_t(coordination_settings->session_timeout_ms));
writeText("operation_timeout_ms=", buf);
write_int(uint64_t(coordination_settings->operation_timeout_ms));
writeText("dead_session_check_period_ms=", buf);

View File

@ -20,7 +20,7 @@ struct Settings;
#define LIST_OF_COORDINATION_SETTINGS(M) \
M(Milliseconds, min_session_timeout_ms, Coordination::DEFAULT_MIN_SESSION_TIMEOUT_MS, "Min client session timeout", 0) \
M(Milliseconds, max_session_timeout_ms, Coordination::DEFAULT_MAX_SESSION_TIMEOUT_MS, "Max client session timeout", 0) \
M(Milliseconds, session_timeout_ms, Coordination::DEFAULT_MAX_SESSION_TIMEOUT_MS, "Max client session timeout", 0) \
M(Milliseconds, operation_timeout_ms, Coordination::DEFAULT_OPERATION_TIMEOUT_MS, "Default client operation timeout", 0) \
M(Milliseconds, dead_session_check_period_ms, 500, "How often leader will check sessions to consider them dead and remove", 0) \
M(Milliseconds, heart_beat_interval_ms, 500, "Heartbeat interval between quorum nodes", 0) \

View File

@ -219,7 +219,7 @@ KeeperTCPHandler::KeeperTCPHandler(IServer & server_, const Poco::Net::StreamSoc
, max_session_timeout(
0,
global_context->getConfigRef().getUInt(
"keeper_server.coordination_settings.max_session_timeout_ms", Coordination::DEFAULT_MAX_SESSION_TIMEOUT_MS) * 1000)
"keeper_server.coordination_settings.session_timeout_ms", Coordination::DEFAULT_MAX_SESSION_TIMEOUT_MS) * 1000)
, poll_wrapper(std::make_unique<SocketInterruptablePollWrapper>(socket_))
, responses(std::make_unique<ThreadSafeResponseQueue>(std::numeric_limits<size_t>::max()))
, last_op(std::make_unique<LastOp>(EMPTY_LAST_OP))

View File

@ -5,8 +5,8 @@
<coordination_settings>
<operation_timeout_ms>10000</operation_timeout_ms>
<session_timeout_ms>100000</session_timeout_ms>
<min_session_timeout_ms>10000</min_session_timeout_ms>
<max_session_timeout_ms>100000</max_session_timeout_ms>
<force_sync>false</force_sync>
<startup_timeout>240000</startup_timeout>
<!-- we want all logs for complex problems investigation -->

View File

@ -15,7 +15,7 @@
<coordination_settings>
<operation_timeout_ms>10000</operation_timeout_ms>
<max_session_timeout_ms>30000</max_session_timeout_ms>
<session_timeout_ms>30000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
<force_sync>false</force_sync>
</coordination_settings>

View File

@ -15,7 +15,7 @@
<coordination_settings>
<operation_timeout_ms>10000</operation_timeout_ms>
<max_session_timeout_ms>30000</max_session_timeout_ms>
<session_timeout_ms>30000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
<force_sync>false</force_sync>
</coordination_settings>

View File

@ -15,7 +15,7 @@
<coordination_settings>
<operation_timeout_ms>10000</operation_timeout_ms>
<max_session_timeout_ms>30000</max_session_timeout_ms>
<session_timeout_ms>30000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
<force_sync>false</force_sync>
</coordination_settings>

View File

@ -8,7 +8,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
<snapshot_distance>75</snapshot_distance>
<!-- For instant start in single node configuration -->

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
<force_sync>false</force_sync>
<!-- For instant start in single node configuration -->

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -8,8 +8,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>30000</max_session_timeout_ms>
<min_session_timeout_ms>1000</min_session_timeout_ms>
<session_timeout_ms>30000</session_timeout_ms>
<snapshot_distance>75</snapshot_distance>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -8,8 +8,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>30000</max_session_timeout_ms>
<min_session_timeout_ms>1000</min_session_timeout_ms>
<session_timeout_ms>30000</session_timeout_ms>
<snapshot_distance>75</snapshot_distance>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -8,8 +8,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>30000</max_session_timeout_ms>
<min_session_timeout_ms>1000</min_session_timeout_ms>
<session_timeout_ms>30000</session_timeout_ms>
<snapshot_distance>75</snapshot_distance>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -285,8 +285,8 @@ def test_cmd_conf(started_cluster):
assert result["log_storage_path"] == "/var/lib/clickhouse/coordination/log"
assert result["snapshot_storage_path"] == "/var/lib/clickhouse/coordination/snapshots"
assert result["max_session_timeout_ms"] == "30000"
assert result["min_session_timeout_ms"] == "1000"
assert result["session_timeout_ms"] == "30000"
assert result["min_session_timeout_ms"] == "10000"
assert result["operation_timeout_ms"] == "5000"
assert result["dead_session_check_period_ms"] == "500"
assert result["heart_beat_interval_ms"] == "500"

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<snapshot_distance>75</snapshot_distance>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<snapshot_distance>75</snapshot_distance>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<snapshot_distance>75</snapshot_distance>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<snapshot_distance>75</snapshot_distance>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<snapshot_distance>75</snapshot_distance>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<snapshot_distance>75</snapshot_distance>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<snapshot_distance>75</snapshot_distance>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<snapshot_distance>75</snapshot_distance>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<snapshot_distance>75</snapshot_distance>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
<snapshot_distance>100</snapshot_distance>
<stale_log_gap>10</stale_log_gap>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
<snapshot_distance>100</snapshot_distance>
<stale_log_gap>10</stale_log_gap>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
<snapshot_distance>100</snapshot_distance>
<stale_log_gap>10</stale_log_gap>

View File

@ -8,7 +8,7 @@
<coordination_settings>
<operation_timeout_ms>10000</operation_timeout_ms>
<max_session_timeout_ms>30000</max_session_timeout_ms>
<session_timeout_ms>30000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
<force_sync>false</force_sync>
</coordination_settings>

View File

@ -8,7 +8,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<min_session_timeout_ms>5000</min_session_timeout_ms>
<snapshot_distance>75</snapshot_distance>
<raft_logs_level>trace</raft_logs_level>

View File

@ -9,7 +9,7 @@
<snapshot_distance>75</snapshot_distance>
<reserved_log_items>5</reserved_log_items>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -9,7 +9,7 @@
<snapshot_distance>75</snapshot_distance>
<reserved_log_items>5</reserved_log_items>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -9,7 +9,7 @@
<snapshot_distance>75</snapshot_distance>
<reserved_log_items>5</reserved_log_items>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -9,7 +9,7 @@
<snapshot_distance>10</snapshot_distance>
<reserved_log_items>5</reserved_log_items>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
<!-- For instant start in single node configuration -->

View File

@ -9,7 +9,7 @@
<snapshot_distance>10</snapshot_distance>
<reserved_log_items>5</reserved_log_items>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -9,7 +9,7 @@
<snapshot_distance>10</snapshot_distance>
<reserved_log_items>5</reserved_log_items>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -9,7 +9,7 @@
<snapshot_distance>10</snapshot_distance>
<reserved_log_items>5</reserved_log_items>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<snapshot_distance>75</snapshot_distance>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>5000</operation_timeout_ms>
<max_session_timeout_ms>10000</max_session_timeout_ms>
<session_timeout_ms>10000</session_timeout_ms>
<snapshot_distance>75</snapshot_distance>
<raft_logs_level>trace</raft_logs_level>
</coordination_settings>

View File

@ -7,7 +7,7 @@
<coordination_settings>
<operation_timeout_ms>30000</operation_timeout_ms>
<max_session_timeout_ms>600000</max_session_timeout_ms>
<session_timeout_ms>600000</session_timeout_ms>
<raft_logs_level>trace</raft_logs_level>
<snapshot_distance>75</snapshot_distance>
</coordination_settings>