mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Remove obsolete code. [#CLICKHOUSE-2]
This commit is contained in:
parent
8aafa3b042
commit
9cf14d2c61
@ -541,12 +541,7 @@ private:
|
||||
/// Current set of data parts.
|
||||
DataParts data_parts;
|
||||
mutable std::mutex data_parts_mutex;
|
||||
|
||||
/// The set of all data parts including already merged but not yet deleted. Usually it is small (tens of elements).
|
||||
/// The part is referenced from here, from the list of current parts and from each thread reading from it.
|
||||
/// This means that if reference count is 1 - the part is not used right now and can be deleted.
|
||||
// DataParts all_data_parts;
|
||||
// mutable std::mutex all_data_parts_mutex;
|
||||
// TODO: this mutex could be a bottleneck. If so, make it shared, and split parts onto partitions
|
||||
|
||||
/// Used to serialize calls to grabOldParts.
|
||||
std::mutex grab_old_parts_mutex;
|
||||
|
@ -538,10 +538,9 @@ void MergeTreeDataPart::remove() const
|
||||
}
|
||||
catch (const Poco::FileNotFoundException & e)
|
||||
{
|
||||
LOG_WARNING(storage.log, "Directory " << from << " (part to remove) doesn't exist or one of nested files has gone."
|
||||
LOG_ERROR(storage.log, "Directory " << from << " (part to remove) doesn't exist or one of nested files has gone."
|
||||
" Most likely this is due to manual removing. This should be discouraged. Ignoring.");
|
||||
|
||||
std::terminate();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user