ClickHouse/src/Storages/MergeTree
Azat Khuzhin c9e93b21c2 Fix tiny race between count() and INSERT/merges/... in MergeTree
Before it was possible to return stale counter from
StorageMergeTree::totalRows() (that is used for
optimize_trivial_count_query) since the accounting is done in two steps:
- subtract old number of rows
  <-- here the number can be zero, even though there are rows -->
- add new number of rows

This was found by CI [1] in 01615_random_one_shard_insertion test:

Here you can see that INSERT went to both tables:

<details>

    2022.01.16 09:07:34.288252 [ 154369 ] {a1905be0-93da-460c-8c6f-9b5adace72a0} <Debug> DistributedBlockOutputStream: It took 0.035197041 sec. to insert 100
    blocks, 2841.1479249065287 rows per second. Insertion status:
    Wrote 54 blocks and 54 rows on shard 0 replica 0, localhost:9000 (average 0 ms per block, the slowest block 1 ms)
    Wrote 46 blocks and 46 rows on shard 1 replica 0, localhost:9000 (average 0 ms per block, the slowest block 1 ms)

</details>

But the test fails, since select from shard1.tbl returns 0, and the
problem was concurrent merge:

<details>

    2022.01.16 09:07:34.289470 [ 146495 ] {cd9d4cf2-7131-4179-b0b2-3aeec4045755} <Debug> executeQuery: (from [::1]:42082) (comment: 01615_random_one_shard_insertion.sql) select count() != 0 from shard_0.tbl;
    2022.01.16 09:07:34.289564 [ 375 ] {c7a885fa-4ef4-4dcf-a4de-1650d44fa0ab::all_1_54_9} <Debug> MergeTask::MergeProjectionsStage: Merge sorted 54 rows, containing 1 columns (1 merged, 0 gathered) in 0.00171193 sec., 31543.345814373253 rows/sec., 246.43 KiB>
    2022.01.16 09:07:34.289810 [ 375 ] {c7a885fa-4ef4-4dcf-a4de-1650d44fa0ab::all_1_54_9} <Trace> shard_0.tbl (c7a885fa-4ef4-4dcf-a4de-1650d44fa0ab): Renaming temporary part tmp_merge_all_1_54_9 to all_1_54_9.
    2022.01.16 09:07:34.289858 [ 146495 ] {cd9d4cf2-7131-4179-b0b2-3aeec4045755} <Trace> ContextAccess (default): Access granted: SELECT(number) ON shard_0.tbl
    2022.01.16 09:07:34.289897 [ 375 ] {c7a885fa-4ef4-4dcf-a4de-1650d44fa0ab::all_1_54_9} <Trace> shard_0.tbl (c7a885fa-4ef4-4dcf-a4de-1650d44fa0ab) (MergerMutator): Merged 6 parts: from all_1_49_8 to all_54_54_0
    2022.01.16 09:07:34.289920 [ 146495 ] {cd9d4cf2-7131-4179-b0b2-3aeec4045755} <Trace> InterpreterSelectQuery: WithMergeableState -> Complete
    2022.01.16 09:07:34.289987 [ 375 ] {} <Debug> MemoryTracker: Peak memory usage Mutate/Merge: 3.12 MiB.
    2022.01.16 09:07:34.290305 [ 154344 ] {cd9d4cf2-7131-4179-b0b2-3aeec4045755} <Trace> MergingAggregatedTransform: Reading blocks of partially aggregated data.
    2022.01.16 09:07:34.290332 [ 154344 ] {cd9d4cf2-7131-4179-b0b2-3aeec4045755} <Debug> MergingAggregatedTransform: Read 1 blocks of partially aggregated data, total 1 rows.
    2022.01.16 09:07:34.290343 [ 154344 ] {cd9d4cf2-7131-4179-b0b2-3aeec4045755} <Trace> Aggregator: Merging partially aggregated single-level data.
    2022.01.16 09:07:34.290358 [ 154344 ] {cd9d4cf2-7131-4179-b0b2-3aeec4045755} <Trace> Aggregator: Merged partially aggregated single-level data.
    2022.01.16 09:07:34.290366 [ 154344 ] {cd9d4cf2-7131-4179-b0b2-3aeec4045755} <Trace> Aggregator: Converting aggregated data to blocks
    2022.01.16 09:07:34.290391 [ 154344 ] {cd9d4cf2-7131-4179-b0b2-3aeec4045755} <Debug> Aggregator: Converted aggregated data to blocks. 1 rows, 8.00 B in 1.0939e-05 sec. (91416.034 rows/sec., 714.19 KiB/sec.)
    2022.01.16 09:07:34.290709 [ 146495 ] {cd9d4cf2-7131-4179-b0b2-3aeec4045755} <Information> executeQuery: Read 1 rows, 4.01 KiB in 0.001187722 sec., 841 rows/sec., 3.30 MiB/sec.
    2022.01.16 09:07:34.290774 [ 146495 ] {cd9d4cf2-7131-4179-b0b2-3aeec4045755} <Debug> MemoryTracker: Peak memory usage (for query): 0.00 B.

</details>

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/33675/7848ea7d609e4c720e8e4494eb6207c0751f5aea/stateless_tests__ubsan__actions_.html

This also fixes a race between DROP TABLE check and INSERT/merges.

v0: use Active parts instead.
v2: fix total counters accounting instead.
2022-01-18 23:58:02 +03:00
..
examples move to examples everywhere 2021-04-27 01:51:42 +03:00
tests Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
ActiveDataPartSet.cpp Containers iteration fix erase 2021-12-20 13:42:31 +03:00
ActiveDataPartSet.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
AllMergeSelector.cpp
AllMergeSelector.h
BackgroundJobsAssignee.cpp better merge selecting backoff 2021-11-09 15:26:51 +03:00
BackgroundJobsAssignee.h better merge selecting backoff 2021-11-09 15:26:51 +03:00
BackgroundProcessList.h Introduced MergeTask and MutateTask (#25165) 2021-09-17 00:19:58 +03:00
BoolMask.cpp
BoolMask.h
checkDataPart.cpp add comments 2021-12-08 18:56:30 +03:00
checkDataPart.h Add default compression codec to merge tree data part 2020-08-26 18:29:46 +03:00
CMakeLists.txt move to examples everywhere 2021-04-27 01:51:42 +03:00
ColumnSizeEstimator.h Introduced MergeTask and MutateTask (#25165) 2021-09-17 00:19:58 +03:00
DataPartsExchange.cpp rename Committed state to Active 2021-12-30 23:45:38 +03:00
DataPartsExchange.h fix per review 2021-07-13 07:20:20 +00:00
DropPartsRanges.cpp fix intersecting parts in parts_to_do 2 2021-11-03 21:48:17 +03:00
DropPartsRanges.h Fix drop part 2021-07-06 13:58:53 +03:00
EphemeralLockInZooKeeper.cpp Rename "common" to "base" 2021-10-02 10:13:14 +03:00
EphemeralLockInZooKeeper.h
FutureMergedMutatedPart.cpp Introduced MergeTask and MutateTask (#25165) 2021-09-17 00:19:58 +03:00
FutureMergedMutatedPart.h Rename "common" to "base" 2021-10-02 11:30:38 +03:00
IExecutableTask.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
IMergedBlockOutputStream.cpp add comments 2021-12-08 18:56:30 +03:00
IMergedBlockOutputStream.h keep serialization infos after drops and renames 2021-11-03 23:29:48 +03:00
IMergeTreeDataPart.cpp Move LockMemoryExceptionInThread and MemoryTrackerBlockerInThread 2022-01-10 22:39:10 +03:00
IMergeTreeDataPart.h Merge branch 'master' into MDB-15474 2022-01-07 10:12:25 +00:00
IMergeTreeDataPartWriter.cpp Remove write_final_mark setting 2021-10-20 14:13:04 +00:00
IMergeTreeDataPartWriter.h Remove BlockInputStream interfaces. 2021-10-14 13:25:43 +03:00
IMergeTreeReader.cpp fix nested 2021-11-02 06:03:52 +03:00
IMergeTreeReader.h fix nested 2021-11-02 06:03:52 +03:00
IntersectionsIndexes.h Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
KeyCondition.cpp Merge branch 'master' into fixnullablekey 2021-11-30 11:44:35 +00:00
KeyCondition.h Reduce dependencies on ASTSelectQuery.h 2021-11-26 18:35:24 +01:00
LeaderElection.h Follow-up to #32140 (#32667) 2021-12-13 16:41:46 +03:00
LevelMergeSelector.cpp
LevelMergeSelector.h
localBackup.cpp Cleanup after fail in localBackup 2021-10-28 17:50:59 +03:00
localBackup.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
MarkRange.cpp Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
MarkRange.h Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
MergeAlgorithm.cpp
MergeAlgorithm.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
MergedBlockOutputStream.cpp add comments 2021-12-08 18:56:30 +03:00
MergedBlockOutputStream.h keep serialization infos after drops and renames 2021-11-03 23:29:48 +03:00
MergedColumnOnlyOutputStream.cpp keep serialization infos after drops and renames 2021-11-03 23:29:48 +03:00
MergedColumnOnlyOutputStream.h refactoring of SerializationInfo 2021-10-29 20:21:02 +03:00
MergeFromLogEntryTask.cpp Apply max_untracked_memory/memory_profiler_{step,sample_probability} during mutate/merge 2021-10-03 17:39:07 +03:00
MergeFromLogEntryTask.h Added an ability to execute more merges and mutations than threads, added new settings (#29140) 2021-10-01 00:26:24 +03:00
MergeList.cpp Move LockMemoryExceptionInThread and MemoryTrackerBlockerInThread 2022-01-10 22:39:10 +03:00
MergeList.h implement hive table engine 2021-11-05 19:55:30 +08:00
MergeMutateSelectedEntry.h Introduced MergeTask and MutateTask (#25165) 2021-09-17 00:19:58 +03:00
MergePlainMergeTreeTask.cpp Avoid losing any allocations context from merges/mutations 2021-10-15 01:43:28 +03:00
MergePlainMergeTreeTask.h Added an ability to execute more merges and mutations than threads, added new settings (#29140) 2021-10-01 00:26:24 +03:00
MergeProgress.h Rename "common" to "base" 2021-10-02 11:30:38 +03:00
MergeSelector.h More fixes for PVS-Studio 2021-05-08 19:12:31 +03:00
MergeTask.cpp Merge remote-tracking branch 'upstream/master' into HEAD 2021-12-14 18:58:17 +03:00
MergeTask.h minor fixes near serializations 2021-11-05 01:46:00 +03:00
MergeTreeBackgroundExecutor.cpp Fix race between MergeTask and storage destruction (#29614) 2021-10-01 18:55:04 +03:00
MergeTreeBackgroundExecutor.h Use seq_cst semantic for MergeTreeBackgroundExecutor mertic. (#32125) 2021-12-06 15:21:39 +03:00
MergeTreeBaseSelectProcessor.cpp Fix query cancellation in case of allow_experimental_parallel_reading_from_replicas 2022-01-07 20:04:57 +03:00
MergeTreeBaseSelectProcessor.h Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
MergeTreeBlockReadUtils.cpp Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
MergeTreeBlockReadUtils.h Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
MergeTreeData.cpp Fix tiny race between count() and INSERT/merges/... in MergeTree 2022-01-18 23:58:02 +03:00
MergeTreeData.h Fix tiny race between count() and INSERT/merges/... in MergeTree 2022-01-18 23:58:02 +03:00
MergeTreeDataFormatVersion.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
MergeTreeDataMergerMutator.cpp Merge remote-tracking branch 'upstream/master' into HEAD 2021-12-01 15:49:02 +03:00
MergeTreeDataMergerMutator.h keep serialization infos after drops and renames 2021-11-03 23:29:48 +03:00
MergeTreeDataPartChecksum.cpp Final fixes 2021-05-29 00:34:44 +03:00
MergeTreeDataPartChecksum.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
MergeTreeDataPartCompact.cpp fix tests 2021-11-02 20:46:03 +03:00
MergeTreeDataPartCompact.h refactoring of SerializationInfo 2021-10-29 20:21:02 +03:00
MergeTreeDataPartInMemory.cpp refactoring of SerializationInfo 2021-10-29 20:21:02 +03:00
MergeTreeDataPartInMemory.h fix tests 2021-11-02 20:46:03 +03:00
MergeTreeDataPartTTLInfo.cpp Rename "common" to "base" 2021-10-02 10:13:14 +03:00
MergeTreeDataPartTTLInfo.h Fix bug in execution of TTL GROUP BY 2021-06-27 19:18:15 +03:00
MergeTreeDataPartType.cpp
MergeTreeDataPartType.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
MergeTreeDataPartUUID.cpp Attempt to normalize big integers 2021-04-25 12:30:43 +03:00
MergeTreeDataPartUUID.h
MergeTreeDataPartWide.cpp fix nested 2021-11-02 06:03:52 +03:00
MergeTreeDataPartWide.h refactoring of SerializationInfo 2021-10-29 20:21:02 +03:00
MergeTreeDataPartWriterCompact.cpp fix nested 2021-11-02 06:03:52 +03:00
MergeTreeDataPartWriterCompact.h refactoring of SerializationInfo 2021-10-29 20:21:02 +03:00
MergeTreeDataPartWriterInMemory.cpp
MergeTreeDataPartWriterInMemory.h
MergeTreeDataPartWriterOnDisk.cpp Move LockMemoryExceptionInThread and MemoryTrackerBlockerInThread 2022-01-10 22:39:10 +03:00
MergeTreeDataPartWriterOnDisk.h fix nested 2021-11-02 06:03:52 +03:00
MergeTreeDataPartWriterWide.cpp fix nested 2021-11-02 06:03:52 +03:00
MergeTreeDataPartWriterWide.h fix nested 2021-11-02 06:03:52 +03:00
MergeTreeDataSelectExecutor.cpp Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
MergeTreeDataSelectExecutor.h Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
MergeTreeDataWriter.cpp optimize single part projection materialization 2021-12-21 22:39:06 +08:00
MergeTreeDataWriter.h optimize single part projection materialization 2021-12-21 22:39:06 +08:00
MergeTreeDeduplicationLog.cpp Fix typos 2021-04-06 13:16:34 +03:00
MergeTreeDeduplicationLog.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
MergeTreeIndexAggregatorBloomFilter.cpp Rename "common" to "base" 2021-10-02 10:13:14 +03:00
MergeTreeIndexAggregatorBloomFilter.h Fix buffer overflow in TokenExtractor #19233 2021-04-01 05:37:19 +03:00
MergeTreeIndexBloomFilter.cpp Reduce dependencies on ASTFunction.h 2021-11-26 18:21:54 +01:00
MergeTreeIndexBloomFilter.h Replace all Context references with std::weak_ptr (#22297) 2021-04-11 02:33:54 +03:00
MergeTreeIndexConditionBloomFilter.cpp BloomFilter indexes map data type support fix unsafe identifier cast 2021-10-01 14:40:00 +03:00
MergeTreeIndexConditionBloomFilter.h Bloom filter for map data type dded support for IN, mapContains functions 2021-09-22 20:25:10 +03:00
MergeTreeIndexFullText.cpp Updated additional cases 2021-12-20 15:55:07 +03:00
MergeTreeIndexFullText.h Fixed build 2021-10-06 23:22:29 +03:00
MergeTreeIndexGranularity.cpp
MergeTreeIndexGranularity.h
MergeTreeIndexGranularityInfo.cpp Change in Storages/* 2021-04-27 16:49:37 +03:00
MergeTreeIndexGranularityInfo.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
MergeTreeIndexGranuleBloomFilter.cpp Rename "common" to "base" 2021-10-02 10:13:14 +03:00
MergeTreeIndexGranuleBloomFilter.h Add new index data skipping minmax index format for proper Nullable support 2021-08-08 19:30:12 +03:00
MergeTreeIndexHypothesis.cpp Reduce dependencies on ASTLiteral.h 2021-11-26 17:54:57 +01:00
MergeTreeIndexHypothesis.h refactor merged index conditions 2021-11-21 22:49:34 +03:00
MergeTreeIndexHypothesisMergedCondition.cpp fix race in skipping index of type hypothesis 2021-12-14 18:28:55 +03:00
MergeTreeIndexHypothesisMergedCondition.h fix race in skipping index of type hypothesis 2021-12-14 18:28:55 +03:00
MergeTreeIndexMinMax.cpp Reduce dependencies on ASTFunction.h 2021-11-26 18:21:54 +01:00
MergeTreeIndexMinMax.h Add new index data skipping minmax index format for proper Nullable support 2021-08-08 19:30:12 +03:00
MergeTreeIndexReader.cpp Review fixes 2021-10-28 11:32:37 +03:00
MergeTreeIndexReader.h Dedicated Mark/Uncompressed cache for skip indices 2021-08-23 15:27:31 +08:00
MergeTreeIndexSet.cpp Reduce dependencies on ASTSelectQuery.h 2021-11-26 18:35:24 +01:00
MergeTreeIndexSet.h Add new index data skipping minmax index format for proper Nullable support 2021-08-08 19:30:12 +03:00
MergeTreeIndices.cpp hypothesis basic 2021-04-26 12:40:54 +03:00
MergeTreeIndices.h fix usage of non-materialized skip indexes 2021-12-07 20:21:27 +03:00
MergeTreeInOrderSelectProcessor.cpp Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
MergeTreeInOrderSelectProcessor.h Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
MergeTreeIOSettings.h slightly better code near reading of subcolumns 2021-09-18 22:34:54 +03:00
MergeTreeMarksLoader.cpp Move LockMemoryExceptionInThread and MemoryTrackerBlockerInThread 2022-01-10 22:39:10 +03:00
MergeTreeMarksLoader.h
MergeTreeMutationEntry.cpp remove strange multimap from mutations 2021-11-19 19:54:43 +03:00
MergeTreeMutationEntry.h remove strange multimap from mutations 2021-11-19 19:54:43 +03:00
MergeTreeMutationStatus.cpp
MergeTreeMutationStatus.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
MergeTreePartInfo.cpp fix segfault on attach parititon 2021-11-25 13:04:39 +03:00
MergeTreePartInfo.h fix segfault on attach parititon 2021-11-25 13:04:39 +03:00
MergeTreePartition.cpp change to switch-case 2021-11-30 15:29:05 +03:00
MergeTreePartition.h try parse partition key value from partition_id 2021-11-27 15:07:08 +03:00
MergeTreePartsMover.cpp Add a tests for a TTL bug in zero copy replication 2022-01-14 18:44:10 +03:00
MergeTreePartsMover.h
MergeTreeRangeReader.cpp Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
MergeTreeRangeReader.h Adjust range reader for remote fs reads 2021-10-15 11:36:26 +03:00
MergeTreeReaderCompact.cpp Merge pull request #32835 from kssenii/fising-s3 2021-12-22 09:38:23 +03:00
MergeTreeReaderCompact.h Fixes 2021-12-17 18:16:29 +03:00
MergeTreeReaderInMemory.cpp Adjust range reader for remote fs reads 2021-10-15 11:36:26 +03:00
MergeTreeReaderInMemory.h Adjust range reader for remote fs reads 2021-10-15 11:36:26 +03:00
MergeTreeReaderStream.cpp Add comments 2021-11-08 12:01:24 +03:00
MergeTreeReaderStream.h Fix 2021-11-05 20:01:21 +03:00
MergeTreeReaderWide.cpp Fix preferch for LowCardinality. 2021-12-22 15:26:16 +03:00
MergeTreeReaderWide.h Fix preferch for LowCardinality. 2021-12-22 15:26:16 +03:00
MergeTreeReadPool.cpp Fix 2021-12-21 10:58:02 +03:00
MergeTreeReadPool.h Merge branch 'master' of github.com:ClickHouse/ClickHouse into disk-async-read 2021-10-22 15:40:41 +03:00
MergeTreeReverseSelectProcessor.cpp Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
MergeTreeReverseSelectProcessor.h Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
MergeTreeSelectProcessor.cpp Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
MergeTreeSelectProcessor.h Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
MergeTreeSequentialSource.cpp Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
MergeTreeSequentialSource.h
MergeTreeSettings.cpp Added an ability to execute more merges and mutations than threads, added new settings (#29140) 2021-10-01 00:26:24 +03:00
MergeTreeSettings.h Fix typos 2021-12-21 19:56:29 +03:00
MergeTreeSink.cpp Merge branch 'master' into rewrite-pushing-to-views 2021-09-09 20:30:23 +03:00
MergeTreeSink.h Rename some files. 2021-07-26 19:48:25 +03:00
MergeTreeThreadSelectProcessor.cpp Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
MergeTreeThreadSelectProcessor.h Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
MergeTreeWhereOptimizer.cpp minor fixes in constraints 2021-11-17 18:43:02 +03:00
MergeTreeWhereOptimizer.h MergeTreeWhereOptimizer::tryAnalyzeTuple, fix fuzz 2021-10-01 17:01:02 +03:00
MergeTreeWriteAheadLog.cpp fix nested 2021-11-02 06:03:52 +03:00
MergeTreeWriteAheadLog.h Remove DataStreams folder. 2021-10-15 23:18:20 +03:00
MergeType.cpp
MergeType.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
MutateFromLogEntryTask.cpp Merge branch 'master' into improvement_for_strange_mutations 2021-10-07 13:26:58 +03:00
MutateFromLogEntryTask.h Merge branch 'master' into improvement_for_strange_mutations 2021-10-07 13:26:58 +03:00
MutatePlainMergeTreeTask.cpp Merge pull request #29495 from ClickHouse/improvement_for_strange_mutations 2021-10-17 20:57:06 +03:00
MutatePlainMergeTreeTask.h Merge branch 'master' into improvement_for_strange_mutations 2021-10-07 13:26:58 +03:00
MutateTask.cpp Merge remote-tracking branch 'upstream/master' into HEAD 2021-12-01 15:49:02 +03:00
MutateTask.h Introduced MergeTask and MutateTask (#25165) 2021-09-17 00:19:58 +03:00
ParallelReplicasReadingCoordinator.cpp Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
ParallelReplicasReadingCoordinator.h Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
PartitionPruner.cpp Projections 2021-05-11 18:12:23 +08:00
PartitionPruner.h Revert "Different approach to fix modulo" 2021-05-21 16:14:01 +00:00
PartMovesBetweenShardsOrchestrator.cpp Remove LeaderElection (#32140) 2021-12-07 19:55:55 +03:00
PartMovesBetweenShardsOrchestrator.h Merge branch 'master' into nv/parts-uuid-move-shard-kill 2021-10-05 12:36:02 +00:00
PinnedPartUUIDs.cpp Part movement between shards 2021-04-27 14:20:12 +01:00
PinnedPartUUIDs.h Part movement between shards 2021-04-27 14:20:12 +01:00
RangesInDataPart.h
registerStorageMergeTree.cpp graphite: split tagged/plain rollup rules (for merges perfomance) 2022-01-10 16:34:16 +05:00
ReplicatedFetchList.cpp Rename "common" to "base" 2021-10-02 10:13:14 +03:00
ReplicatedFetchList.h
ReplicatedMergeMutateTaskBase.cpp rename Committed state to Active 2021-12-30 23:45:38 +03:00
ReplicatedMergeMutateTaskBase.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
ReplicatedMergeTreeAddress.cpp
ReplicatedMergeTreeAddress.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
ReplicatedMergeTreeAltersSequence.cpp
ReplicatedMergeTreeAltersSequence.h
ReplicatedMergeTreeCleanupThread.cpp Remove LeaderElection (#32140) 2021-12-07 19:55:55 +03:00
ReplicatedMergeTreeCleanupThread.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
ReplicatedMergeTreeLogEntry.cpp Add support for user defined identifier on log entries 2021-09-17 15:32:35 +01:00
ReplicatedMergeTreeLogEntry.h Merge branch 'master' into nv/parts-uuid-move-shard-kill 2021-10-05 12:36:02 +00:00
ReplicatedMergeTreeMergeStrategyPicker.cpp Rename "common" to "base" 2021-10-02 10:13:14 +03:00
ReplicatedMergeTreeMergeStrategyPicker.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
ReplicatedMergeTreeMutationEntry.cpp Most likely improve performance 2021-03-15 22:23:27 +03:00
ReplicatedMergeTreeMutationEntry.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
ReplicatedMergeTreePartCheckThread.cpp rename Committed state to Active 2021-12-30 23:45:38 +03:00
ReplicatedMergeTreePartCheckThread.h fix another issue 2021-10-27 15:59:26 +03:00
ReplicatedMergeTreePartHeader.cpp
ReplicatedMergeTreePartHeader.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
ReplicatedMergeTreeQueue.cpp Use explicit template instantiation for SystemLog 2022-01-10 22:01:41 +03:00
ReplicatedMergeTreeQueue.h fix intersecting parts in parts_to_do 2 2021-11-03 21:48:17 +03:00
ReplicatedMergeTreeQuorumAddedParts.h fix style 2021-08-23 13:59:01 +03:00
ReplicatedMergeTreeQuorumEntry.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
ReplicatedMergeTreeRestartingThread.cpp rename Committed state to Active 2021-12-30 23:45:38 +03:00
ReplicatedMergeTreeRestartingThread.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
ReplicatedMergeTreeSink.cpp Merge branch 'master' into MDB-15474 2022-01-07 10:12:25 +00:00
ReplicatedMergeTreeSink.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
ReplicatedMergeTreeTableMetadata.cpp Update comment 2021-09-02 18:29:26 +03:00
ReplicatedMergeTreeTableMetadata.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
RequestResponse.cpp Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
RequestResponse.h Parallel reading from replicas (#29279) 2021-12-09 13:39:28 +03:00
RPNBuilder.h Resurrect indexHint function. 2021-04-20 19:27:23 +08:00
SimpleMergeSelector.cpp Fix warnings by PVS-Studio 2021-05-08 23:57:08 +03:00
SimpleMergeSelector.h .tech -> .com 2021-09-22 03:22:57 +03:00
StorageFromMergeTreeDataPart.h Move some files. 2021-10-16 17:03:50 +03:00
TTLMergeSelector.cpp Review bug fixes 2021-07-06 15:05:58 +03:00
TTLMergeSelector.h Rename "common" to "base" 2021-10-02 10:13:14 +03:00
ZeroCopyLock.cpp Add ephemeral lock in zookeeper 2022-01-17 14:52:51 +03:00
ZeroCopyLock.h Fix comment 2022-01-17 14:54:51 +03:00