mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Update src/Storages/MergeTree/MergeTreeData.cpp
Co-authored-by: flynn <fenglv15@mails.ucas.ac.cn>
This commit is contained in:
parent
7664114349
commit
d31457de44
@ -5314,6 +5314,7 @@ size_t MergeTreeData::getAllPartsCount() const
|
||||
size_t MergeTreeData::getTotalMarksCount() const
|
||||
{
|
||||
size_t total_marks = 0;
|
||||
auto lock = lockParts();
|
||||
for (auto & part : data_parts_by_info)
|
||||
{
|
||||
total_marks += part->getMarksCount();
|
||||
|
Loading…
Reference in New Issue
Block a user