mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-20 05:05:38 +00:00
Merge branch 'master' into xuelei_dev
This commit is contained in:
commit
a227298d47
@ -217,6 +217,8 @@ void DatabaseCatalog::shutdownImpl()
|
||||
/// We still hold "databases" (instead of std::move) for Buffer tables to flush data correctly.
|
||||
|
||||
/// Delay shutdown of temporary and system databases. They will be shutdown last.
|
||||
/// Because some databases might use them until their shutdown is called, but calling shutdown
|
||||
/// on temporary database means clearing its set of tables, which will lead to unnecessary errors like "table not found".
|
||||
std::vector<DatabasePtr> databases_with_delayed_shutdown;
|
||||
for (auto & database : current_databases)
|
||||
{
|
||||
|
@ -40,7 +40,7 @@
|
||||
<operation_timeout_ms>10000</operation_timeout_ms>
|
||||
<session_timeout_ms>30000</session_timeout_ms>
|
||||
<heart_beat_interval_ms>1000</heart_beat_interval_ms>
|
||||
<election_timeout_lower_bound_ms>4000</election_timeout_lower_bound_ms>
|
||||
<election_timeout_lower_bound_ms>2000</election_timeout_lower_bound_ms>
|
||||
<election_timeout_upper_bound_ms>5000</election_timeout_upper_bound_ms>
|
||||
<raft_logs_level>information</raft_logs_level>
|
||||
<force_sync>false</force_sync>
|
||||
|
Loading…
Reference in New Issue
Block a user