Skip to content

Commit 7811e74

Browse files
authored
Update IMergeTreeDataPart.h
1 parent 1511750 commit 7811e74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Storages/MergeTree/IMergeTreeDataPart.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,8 @@ class IMergeTreeDataPart : public std::enable_shared_from_this<IMergeTreeDataPar
622622

623623
mutable std::atomic<time_t> last_removal_attempt_time = 0;
624624

625+
void removeIfNeeded() noexcept;
626+
625627
protected:
626628
/// Primary key (correspond to primary.idx file).
627629
/// Lazily loaded in RAM. Contains each index_granularity-th value of primary key tuple.
@@ -660,8 +662,6 @@ class IMergeTreeDataPart : public std::enable_shared_from_this<IMergeTreeDataPar
660662

661663
mutable std::map<String, std::shared_ptr<IMergeTreeDataPart>> projection_parts;
662664

663-
void removeIfNeeded() noexcept;
664-
665665
/// Fill each_columns_size and total_size with sizes from columns files on
666666
/// disk using columns and checksums.
667667
virtual void calculateEachColumnSizes(ColumnSizeByName & each_columns_size, ColumnSize & total_size, std::optional<Block> columns_sample) const = 0;

0 commit comments

Comments
 (0)