mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 19:12:03 +00:00
Add new settings to settings change history.
This commit is contained in:
parent
f292767778
commit
562c23eac6
@ -80,6 +80,8 @@ static std::initializer_list<std::pair<ClickHouseVersion, SettingsChangesHistory
|
|||||||
{"database_replicated_allow_replicated_engine_arguments", 1, 0, "Don't allow explicit arguments by default"},
|
{"database_replicated_allow_replicated_engine_arguments", 1, 0, "Don't allow explicit arguments by default"},
|
||||||
{"database_replicated_allow_explicit_uuid", 0, 0, "Added a new setting to disallow explicitly specifying table UUID"},
|
{"database_replicated_allow_explicit_uuid", 0, 0, "Added a new setting to disallow explicitly specifying table UUID"},
|
||||||
{"parallel_replicas_local_plan", false, false, "Use local plan for local replica in a query with parallel replicas"},
|
{"parallel_replicas_local_plan", false, false, "Use local plan for local replica in a query with parallel replicas"},
|
||||||
|
{"min_free_disk_bytes_to_throw_insert", 0, 0, "Maintain some free disk space bytes from inserts while still allowing for temporary writing."},
|
||||||
|
{"min_free_disk_ratio_to_throw_insert", 0.0, 0.0, "Maintain some free disk space bytes expressed as ratio to total disk space from inserts while still allowing for temporary writing."},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{"24.8",
|
{"24.8",
|
||||||
|
@ -707,6 +707,7 @@ MergeTreeDataWriter::TemporaryPart MergeTreeDataWriter::writeProjectionPartImpl(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// just check if there is enough space on parent volume
|
// just check if there is enough space on parent volume
|
||||||
|
// down the line in reserving space there is concurrency safety so no need to worry about 'over-reserving'
|
||||||
MergeTreeData::reserveSpace(expected_size + reserve_extra, parent_part->getDataPartStorage());
|
MergeTreeData::reserveSpace(expected_size + reserve_extra, parent_part->getDataPartStorage());
|
||||||
part_type = data.choosePartFormatOnDisk(expected_size, block.rows()).part_type;
|
part_type = data.choosePartFormatOnDisk(expected_size, block.rows()).part_type;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user