(you don't have to strictly follow this form)

**Describe the bug**
A clear and concise description of what works not as it is supposed to.

- Fatal log
```
2021.04.14 07:10:05.724520 [ 224553 ] {} <Fatal> BaseDaemon: ########################################
2021.04.14 07:10:05.724783 [ 224553 ] {} <Fatal> BaseDaemon: (version 21.5.1.6560, build id: EF319A043F319839CBC8230FD99D7ED96EEBAD64) (from thread 303) (no query) Received signal Segmentation fault (11)
2021.04.14 07:10:05.724973 [ 224553 ] {} <Fatal> BaseDaemon: Address: 0x7f1ea94b5000 Access: read. Attempted access has violated the permissions assigned to the memory area.
2021.04.14 07:10:05.725202 [ 224553 ] {} <Fatal> BaseDaemon: Stack trace: 0x8e566f0 0x8e3060d 0x8e2d454 0x8e34595 0x8df7701 0x8e7f7aa 0x8e7aced 0x1669677c 0x8e6e85f 0x166b2b94 0x8e6d3d7 0x8e6b93a 0x7f323cd1f0b3 0x8dd292e
2021.04.14 07:10:14.624432 [ 224553 ] {} <Fatal> BaseDaemon: 5. __sanitizer::GetMemoryProfile(void (*)(unsigned long, unsigned long, bool, unsigned long*, unsigned long), unsigned long*, unsigned long) @ 0x8e566f0 in /usr/bin/clickhouse
2021.04.14 07:10:23.535715 [ 224553 ] {} <Fatal> BaseDaemon: 6. __sanitizer::SizeClassAllocator64<__tsan::AP64>::PrintStats() @ 0x8e3060d in /usr/bin/clickhouse
2021.04.14 07:10:38.626513 [ 301 ] {} <Fatal> Application: Child process was terminated by signal 11.
```


full log
```
2021.04.14 07:04:16.641337 [ 56282 ] {} <Trace> ExternalDictionariesLoader: Supposed update time for '3cebddf3-0989-4f7b-b9eb-9b8c9de421ff' is 2021-04-14 07:10:41 (backoff, 11 errors)
2021.04.14 07:04:18.019013 [ 56282 ] {} <Error> ExternalDictionariesLoader: Could not update external dictionary '3cebddf3-0989-4f7b-b9eb-9b8c9de421ff', leaving the previous version, next update is scheduled at 2021-04-14 07:10:41: Code: 60, e.displayText() = DB::Exception: Table test.mt doesn't exist, Stack trace (when copying this message, always include the lines below):
2021.04.14 07:04:18.020529 [ 56282 ] {} <Trace> ExternalDictionariesLoader: Next update time for '3cebddf3-0989-4f7b-b9eb-9b8c9de421ff' was set to 2021-04-14 07:10:41
2021.04.14 07:10:00.100645 [ 4908 ] {} <Trace> system.part_log (1ea51428-9e19-4807-8508-501b4a1d864b): Found 2 old parts to remove.
2021.04.14 07:10:00.100978 [ 4908 ] {} <Debug> system.part_log (1ea51428-9e19-4807-8508-501b4a1d864b): Removing part from filesystem 202104_1_470_223
2021.04.14 07:10:00.101903 [ 4908 ] {} <Debug> system.part_log (1ea51428-9e19-4807-8508-501b4a1d864b): Removing part from filesystem 202104_471_471_0
2021.04.14 07:10:00.208260 [ 24273 ] {} <Debug> TCPHandler: Done processing connection.
2021.04.14 07:10:00.396531 [ 359 ] {} <Trace> SystemLog (system.query_log): Flushing system log, 17 entries to flush up to offset 491049
2021.04.14 07:10:00.427204 [ 201932 ] {} <Debug> system.query_thread_log (4a6aab43-9e69-4474-a0a9-b5aaafdb6c70) (MergerMutator): Merge sorted 6776 rows, containing 43 columns (43 merged, 0 gathered) in 1.218106323 sec., 5562.732802594605 rows/sec., 10.25 MiB/sec.
2021.04.14 07:10:00.428587 [ 359 ] {} <Debug> DiskLocal: Reserving 1.00 MiB on disk `default`, having unreserved 7.02 TiB.
2021.04.14 07:10:00.471601 [ 359 ] {} <Trace> system.query_log (42aef80b-c720-47ae-b9e3-0030b1827423): Renaming temporary part tmp_insert_202104_390_390_0 to 202104_392_392_0.
2021.04.14 07:10:00.484381 [ 359 ] {} <Trace> SystemLog (system.query_log): Flushed system log up to offset 491049
2021.04.14 07:10:00.567422 [ 201932 ] {} <Trace> system.query_thread_log (4a6aab43-9e69-4474-a0a9-b5aaafdb6c70): Renaming temporary part tmp_merge_202104_429_457_7 to 202104_429_457_7.
2021.04.14 07:10:00.568406 [ 201932 ] {} <Trace> system.query_thread_log (4a6aab43-9e69-4474-a0a9-b5aaafdb6c70) (MergerMutator): Merged 2 parts: from 202104_429_456_6 to 202104_457_457_0
2021.04.14 07:10:00.568721 [ 201932 ] {} <Debug> MemoryTracker: Peak memory usage: 116.72 MiB.
2021.04.14 07:10:00.782158 [ 365 ] {} <Trace> test_7.replica1: Number of queued merges (0) and part mutations (0) is greater than max_replicated_merges_in_queue (0), so won't select new parts to merge or mutate.
2021.04.14 07:10:00.842210 [ 387 ] {} <Trace> SystemLog (system.metric_log): Flushing system log, 8 entries to flush up to offset 3833
2021.04.14 07:10:01.004959 [ 387 ] {} <Debug> DiskLocal: Reserving 1.00 MiB on disk `default`, having unreserved 7.02 TiB.
2021.04.14 07:10:01.025121 [ 303 ] {} <Information> Application: Closed connections. But 5 remain. Tip: To increase wait time add to config: <shutdown_wait_unfinished>60</shutdown_wait_unfinished>
2021.04.14 07:10:01.025754 [ 303 ] {} <Information> Application: Will shutdown forcefully.
2021.04.14 07:10:01.030775 [ 316 ] {} <Trace> NuKeeperTCPHandler: Received heartbeat for session #2
2021.04.14 07:10:01.174237 [ 387 ] {} <Trace> system.metric_log (4364fc4a-bdb7-4beb-9b14-02a0dd96eb79): Renaming temporary part tmp_insert_202104_516_516_0 to 202104_523_523_0.
2021.04.14 07:10:01.239059 [ 387 ] {} <Trace> SystemLog (system.metric_log): Flushed system log up to offset 3833
2021.04.14 07:10:01.394145 [ 4355 ] {} <Debug> TCPHandler: Done processing connection.
2021.04.14 07:10:02.427399 [ 201262 ] {} <Trace> system.part_log (1ea51428-9e19-4807-8508-501b4a1d864b): Found 6 old parts to remove.
2021.04.14 07:10:02.427708 [ 201262 ] {} <Debug> system.part_log (1ea51428-9e19-4807-8508-501b4a1d864b): Removing part from filesystem 202104_472_472_0
2021.04.14 07:10:02.428384 [ 201262 ] {} <Debug> system.part_log (1ea51428-9e19-4807-8508-501b4a1d864b): Removing part from filesystem 202104_473_473_0
2021.04.14 07:10:02.428838 [ 201262 ] {} <Debug> system.part_log (1ea51428-9e19-4807-8508-501b4a1d864b): Removing part from filesystem 202104_474_474_0
2021.04.14 07:10:02.429240 [ 201262 ] {} <Debug> system.part_log (1ea51428-9e19-4807-8508-501b4a1d864b): Removing part from filesystem 202104_475_475_0
2021.04.14 07:10:02.429642 [ 201262 ] {} <Debug> system.part_log (1ea51428-9e19-4807-8508-501b4a1d864b): Removing part from filesystem 202104_476_476_0
2021.04.14 07:10:02.430061 [ 201262 ] {} <Debug> system.part_log (1ea51428-9e19-4807-8508-501b4a1d864b): Removing part from filesystem 202104_477_477_0
2021.04.14 07:10:02.782129 [ 25928 ] {} <Debug> TCPHandler: Done processing connection.
2021.04.14 07:10:02.810119 [ 1398 ] {} <Debug> TCPHandler: Done processing connection.
2021.04.14 07:10:03.274675 [ 93887 ] {} <Debug> TCPHandler: Done processing connection.
2021.04.14 07:10:04.024373 [ 371 ] {} <Trace> test_7.replica2: Number of queued merges (0) and part mutations (0) is greater than max_replicated_merges_in_queue (0), so won't select new parts to merge or mutate.
2021.04.14 07:10:04.294157 [ 30247 ] {} <Debug> TCPHandler: Done processing connection.
2021.04.14 07:10:05.723037 [ 385 ] {} <Debug> DiskLocal: Reserving 1.00 MiB on disk `default`, having unreserved 7.02 TiB.
2021.04.14 07:10:05.723767 [ 306 ] {} <Trace> BaseDaemon: Received signal 11
2021.04.14 07:10:05.724520 [ 224553 ] {} <Fatal> BaseDaemon: ########################################
2021.04.14 07:10:05.724783 [ 224553 ] {} <Fatal> BaseDaemon: (version 21.5.1.6560, build id: EF319A043F319839CBC8230FD99D7ED96EEBAD64) (from thread 303) (no query) Received signal Segmentation fault (11)
2021.04.14 07:10:05.724973 [ 224553 ] {} <Fatal> BaseDaemon: Address: 0x7f1ea94b5000 Access: read. Attempted access has violated the permissions assigned to the memory area.
2021.04.14 07:10:05.725202 [ 224553 ] {} <Fatal> BaseDaemon: Stack trace: 0x8e566f0 0x8e3060d 0x8e2d454 0x8e34595 0x8df7701 0x8e7f7aa 0x8e7aced 0x1669677c 0x8e6e85f 0x166b2b94 0x8e6d3d7 0x8e6b93a 0x7f323cd1f0b3 0x8dd292e
2021.04.14 07:10:05.734904 [ 385 ] {} <Trace> system.text_log (c2fdd19d-d817-456c-a032-819dcb92328b): Renaming temporary part tmp_insert_202104_448_448_0 to 202104_455_455_0.
2021.04.14 07:10:05.787684 [ 373 ] {} <Trace> test_7.replica1: Number of queued merges (0) and part mutations (0) is greater than max_replicated_merges_in_queue (0), so won't select new parts to merge or mutate.
2021.04.14 07:10:08.269111 [ 1516 ] {} <Trace> system.opentelemetry_span_log (423851b7-41a2-492c-b465-1cefa09988e3): Found 2 old parts to remove.
2021.04.14 07:10:08.269444 [ 1516 ] {} <Debug> system.opentelemetry_span_log (423851b7-41a2-492c-b465-1cefa09988e3): Removing part from filesystem 202104_390_491_24
2021.04.14 07:10:08.270318 [ 1516 ] {} <Debug> system.opentelemetry_span_log (423851b7-41a2-492c-b465-1cefa09988e3): Removing part from filesystem 202104_492_492_0
2021.04.14 07:10:08.739573 [ 387 ] {} <Trace> SystemLog (system.metric_log): Flushing system log, 8 entries to flush up to offset 3841
2021.04.14 07:10:08.918530 [ 387 ] {} <Debug> DiskLocal: Reserving 1.00 MiB on disk `default`, having unreserved 7.02 TiB.
2021.04.14 07:10:09.030316 [ 378 ] {} <Trace> test_7.replica2: Number of queued merges (0) and part mutations (0) is greater than max_replicated_merges_in_queue (0), so won't select new parts to merge or mutate.
2021.04.14 07:10:09.044403 [ 387 ] {} <Trace> system.metric_log (4364fc4a-bdb7-4beb-9b14-02a0dd96eb79): Renaming temporary part tmp_insert_202104_517_517_0 to 202104_524_524_0.
2021.04.14 07:10:09.113149 [ 387 ] {} <Trace> SystemLog (system.metric_log): Flushed system log up to offset 3841
2021.04.14 07:10:10.792801 [ 369 ] {} <Trace> test_7.replica1: Number of queued merges (0) and part mutations (0) is greater than max_replicated_merges_in_queue (0), so won't select new parts to merge or mutate.
2021.04.14 07:10:11.030750 [ 316 ] {} <Trace> NuKeeperTCPHandler: Received heartbeat for session #2
2021.04.14 07:10:11.987102 [ 383 ] {} <Trace> SystemLog (system.asynchronous_metric_log): Flushing system log, 64 entries to flush up to offset 4160
2021.04.14 07:10:11.992093 [ 383 ] {} <Debug> DiskLocal: Reserving 1.00 MiB on disk `default`, having unreserved 7.02 TiB.
2021.04.14 07:10:11.997749 [ 383 ] {} <Trace> system.asynchronous_metric_log (7006fe7a-0040-4c26-88fd-4ffd97af001e): Renaming temporary part tmp_insert_202104_64_64_0 to 202104_65_65_0.
2021.04.14 07:10:11.999450 [ 383 ] {} <Trace> SystemLog (system.asynchronous_metric_log): Flushed system log up to offset 4160
2021.04.14 07:10:12.526535 [ 372 ] {} <Debug> system.query_thread_log (4a6aab43-9e69-4474-a0a9-b5aaafdb6c70) (MergerMutator): Selected 5 parts from 202104_458_458_0 to 202104_462_462_0
2021.04.14 07:10:12.527416 [ 372 ] {} <Debug> DiskLocal: Reserving 1.00 MiB on disk `default`, having unreserved 7.02 TiB.
2021.04.14 07:10:12.528095 [ 201422 ] {} <Debug> system.query_thread_log (4a6aab43-9e69-4474-a0a9-b5aaafdb6c70) (MergerMutator): Merging 5 parts: from 202104_458_458_0 to 202104_462_462_0 into Compact
2021.04.14 07:10:12.529290 [ 201422 ] {} <Debug> system.query_thread_log (4a6aab43-9e69-4474-a0a9-b5aaafdb6c70) (MergerMutator): Selected MergeAlgorithm: Horizontal
2021.04.14 07:10:12.533233 [ 201422 ] {} <Trace> MergeTreeSequentialSource: Reading 2 marks from part 202104_458_458_0, total 18 rows starting from the beginning of the part
2021.04.14 07:10:12.538435 [ 201422 ] {} <Trace> MergeTreeSequentialSource: Reading 2 marks from part 202104_459_459_0, total 22 rows starting from the beginning of the part
2021.04.14 07:10:12.545584 [ 201422 ] {} <Trace> MergeTreeSequentialSource: Reading 2 marks from part 202104_460_460_0, total 18 rows starting from the beginning of the part
2021.04.14 07:10:12.552370 [ 201422 ] {} <Trace> MergeTreeSequentialSource: Reading 2 marks from part 202104_461_461_0, total 37 rows starting from the beginning of the part
2021.04.14 07:10:12.559247 [ 201422 ] {} <Trace> MergeTreeSequentialSource: Reading 2 marks from part 202104_462_462_0, total 25 rows starting from the beginning of the part
2021.04.14 07:10:12.653799 [ 201422 ] {} <Debug> system.query_thread_log (4a6aab43-9e69-4474-a0a9-b5aaafdb6c70) (MergerMutator): Merge sorted 120 rows, containing 43 columns (43 merged, 0 gathered) in 0.125761443 sec., 954.1875247089841 rows/sec., 914.76 KiB/sec.
2021.04.14 07:10:12.673384 [ 201422 ] {} <Trace> system.query_thread_log (4a6aab43-9e69-4474-a0a9-b5aaafdb6c70): Renaming temporary part tmp_merge_202104_458_462_1 to 202104_458_462_1.
2021.04.14 07:10:12.674668 [ 201422 ] {} <Trace> system.query_thread_log (4a6aab43-9e69-4474-a0a9-b5aaafdb6c70) (MergerMutator): Merged 5 parts: from 202104_458_458_0 to 202104_462_462_0
2021.04.14 07:10:12.675071 [ 201422 ] {} <Debug> MemoryTracker: Peak memory usage: 4.05 MiB.
2021.04.14 07:10:13.246862 [ 385 ] {} <Debug> DiskLocal: Reserving 1.00 MiB on disk `default`, having unreserved 7.02 TiB.
2021.04.14 07:10:13.259627 [ 385 ] {} <Trace> system.text_log (c2fdd19d-d817-456c-a032-819dcb92328b): Renaming temporary part tmp_insert_202104_449_449_0 to 202104_456_456_0.
2021.04.14 07:10:14.036771 [ 377 ] {} <Trace> test_7.replica2: Number of queued merges (0) and part mutations (0) is greater than max_replicated_merges_in_queue (0), so won't select new parts to merge or mutate.
2021.04.14 07:10:14.624432 [ 224553 ] {} <Fatal> BaseDaemon: 5. __sanitizer::GetMemoryProfile(void (*)(unsigned long, unsigned long, bool, unsigned long*, unsigned long), unsigned long*, unsigned long) @ 0x8e566f0 in /usr/bin/clickhouse
2021.04.14 07:10:15.798394 [ 376 ] {} <Trace> test_7.replica1: Number of queued merges (0) and part mutations (0) is greater than max_replicated_merges_in_queue (0), so won't select new parts to merge or mutate.
2021.04.14 07:10:16.613678 [ 387 ] {} <Trace> SystemLog (system.metric_log): Flushing system log, 8 entries to flush up to offset 3849
2021.04.14 07:10:16.781949 [ 387 ] {} <Debug> DiskLocal: Reserving 1.00 MiB on disk `default`, having unreserved 7.02 TiB.
2021.04.14 07:10:16.921014 [ 387 ] {} <Trace> system.metric_log (4364fc4a-bdb7-4beb-9b14-02a0dd96eb79): Renaming temporary part tmp_insert_202104_518_518_0 to 202104_525_525_0.
2021.04.14 07:10:16.987284 [ 387 ] {} <Trace> SystemLog (system.metric_log): Flushed system log up to offset 3849
2021.04.14 07:10:17.584590 [ 201504 ] {} <Trace> system.opentelemetry_span_log (423851b7-41a2-492c-b465-1cefa09988e3): Found 2 old parts to remove.
2021.04.14 07:10:17.584900 [ 201504 ] {} <Debug> system.opentelemetry_span_log (423851b7-41a2-492c-b465-1cefa09988e3): Removing part from filesystem 202104_390_492_25
2021.04.14 07:10:17.585820 [ 201504 ] {} <Debug> system.opentelemetry_span_log (423851b7-41a2-492c-b465-1cefa09988e3): Removing part from filesystem 202104_493_493_0
2021.04.14 07:10:17.709963 [ 201337 ] {} <Trace> system.text_log (c2fdd19d-d817-456c-a032-819dcb92328b): Found 7 old parts to remove.
2021.04.14 07:10:17.710284 [ 201337 ] {} <Debug> system.text_log (c2fdd19d-d817-456c-a032-819dcb92328b): Removing part from filesystem 202104_374_399_5
2021.04.14 07:10:17.712138 [ 201337 ] {} <Debug> system.text_log (c2fdd19d-d817-456c-a032-819dcb92328b): Removing part from filesystem 202104_400_400_0
2021.04.14 07:10:17.712589 [ 201337 ] {} <Debug> system.text_log (c2fdd19d-d817-456c-a032-819dcb92328b): Removing part from filesystem 202104_401_401_0
2021.04.14 07:10:17.713029 [ 201337 ] {} <Debug> system.text_log (c2fdd19d-d817-456c-a032-819dcb92328b): Removing part from filesystem 202104_402_402_0
2021.04.14 07:10:17.713601 [ 201337 ] {} <Debug> system.text_log (c2fdd19d-d817-456c-a032-819dcb92328b): Removing part from filesystem 202104_403_403_0
2021.04.14 07:10:17.714126 [ 201337 ] {} <Debug> system.text_log (c2fdd19d-d817-456c-a032-819dcb92328b): Removing part from filesystem 202104_404_404_0
2021.04.14 07:10:17.714589 [ 201337 ] {} <Debug> system.text_log (c2fdd19d-d817-456c-a032-819dcb92328b): Removing part from filesystem 202104_405_405_0
2021.04.14 07:10:19.042862 [ 373 ] {} <Trace> test_7.replica2: Number of queued merges (0) and part mutations (0) is greater than max_replicated_merges_in_queue (0), so won't select new parts to merge or mutate.
2021.04.14 07:10:20.771202 [ 385 ] {} <Debug> DiskLocal: Reserving 1.00 MiB on disk `default`, having unreserved 7.02 TiB.
2021.04.14 07:10:20.779801 [ 385 ] {} <Trace> system.text_log (c2fdd19d-d817-456c-a032-819dcb92328b): Renaming temporary part tmp_insert_202104_450_450_0 to 202104_457_457_0.
2021.04.14 07:10:20.781924 [ 369 ] {} <Debug> system.text_log (c2fdd19d-d817-456c-a032-819dcb92328b) (MergerMutator): Selected 3 parts from 202104_432_452_4 to 202104_454_454_0
2021.04.14 07:10:20.783226 [ 369 ] {} <Debug> DiskLocal: Reserving 1.00 MiB on disk `default`, having unreserved 7.02 TiB.
2021.04.14 07:10:20.784058 [ 3195 ] {} <Debug> system.text_log (c2fdd19d-d817-456c-a032-819dcb92328b) (MergerMutator): Merging 3 parts: from 202104_432_452_4 to 202104_454_454_0 into Compact
2021.04.14 07:10:20.784781 [ 3195 ] {} <Debug> system.text_log (c2fdd19d-d817-456c-a032-819dcb92328b) (MergerMutator): Selected MergeAlgorithm: Horizontal
2021.04.14 07:10:20.786267 [ 3195 ] {} <Trace> MergeTreeSequentialSource: Reading 3 marks from part 202104_432_452_4, total 12791 rows starting from the beginning of the part
2021.04.14 07:10:20.788367 [ 3195 ] {} <Trace> MergeTreeSequentialSource: Reading 2 marks from part 202104_453_453_0, total 4214 rows starting from the beginning of the part
2021.04.14 07:10:20.790326 [ 3195 ] {} <Trace> MergeTreeSequentialSource: Reading 2 marks from part 202104_454_454_0, total 285 rows starting from the beginning of the part
2021.04.14 07:10:20.804216 [ 371 ] {} <Trace> test_7.replica1: Number of queued merges (0) and part mutations (0) is greater than max_replicated_merges_in_queue (0), so won't select new parts to merge or mutate.
2021.04.14 07:10:21.030809 [ 316 ] {} <Trace> NuKeeperTCPHandler: Received heartbeat for session #2
2021.04.14 07:10:21.353239 [ 3195 ] {} <Debug> system.text_log (c2fdd19d-d817-456c-a032-819dcb92328b) (MergerMutator): Merge sorted 17290 rows, containing 13 columns (13 merged, 0 gathered) in 0.569351627 sec., 30367.876686510288 rows/sec., 6.90 MiB/sec.
2021.04.14 07:10:21.362103 [ 3195 ] {} <Trace> system.text_log (c2fdd19d-d817-456c-a032-819dcb92328b): Renaming temporary part tmp_merge_202104_432_454_5 to 202104_432_454_5.
2021.04.14 07:10:21.362869 [ 3195 ] {} <Trace> system.text_log (c2fdd19d-d817-456c-a032-819dcb92328b) (MergerMutator): Merged 3 parts: from 202104_432_452_4 to 202104_454_454_0
2021.04.14 07:10:21.363192 [ 3195 ] {} <Debug> MemoryTracker: Peak memory usage: 12.43 MiB.
2021.04.14 07:10:23.203253 [ 200998 ] {} <Trace> system.metric_log (4364fc4a-bdb7-4beb-9b14-02a0dd96eb79): Found 6 old parts to remove.
2021.04.14 07:10:23.203565 [ 200998 ] {} <Debug> system.metric_log (4364fc4a-bdb7-4beb-9b14-02a0dd96eb79): Removing part from filesystem 202104_1_466_93
2021.04.14 07:10:23.204494 [ 200998 ] {} <Debug> system.metric_log (4364fc4a-bdb7-4beb-9b14-02a0dd96eb79): Removing part from filesystem 202104_467_467_0
2021.04.14 07:10:23.204959 [ 200998 ] {} <Debug> system.metric_log (4364fc4a-bdb7-4beb-9b14-02a0dd96eb79): Removing part from filesystem 202104_468_468_0
2021.04.14 07:10:23.205374 [ 200998 ] {} <Debug> system.metric_log (4364fc4a-bdb7-4beb-9b14-02a0dd96eb79): Removing part from filesystem 202104_469_469_0
2021.04.14 07:10:23.205919 [ 200998 ] {} <Debug> system.metric_log (4364fc4a-bdb7-4beb-9b14-02a0dd96eb79): Removing part from filesystem 202104_470_470_0
2021.04.14 07:10:23.206367 [ 200998 ] {} <Debug> system.metric_log (4364fc4a-bdb7-4beb-9b14-02a0dd96eb79): Removing part from filesystem 202104_471_471_0
2021.04.14 07:10:23.535715 [ 224553 ] {} <Fatal> BaseDaemon: 6. __sanitizer::SizeClassAllocator64<__tsan::AP64>::PrintStats() @ 0x8e3060d in /usr/bin/clickhouse
2021.04.14 07:10:24.048444 [ 376 ] {} <Trace> test_7.replica2: Number of queued merges (0) and part mutations (0) is greater than max_replicated_merges_in_queue (0), so won't select new parts to merge or mutate.
2021.04.14 07:10:24.487829 [ 387 ] {} <Trace> SystemLog (system.metric_log): Flushing system log, 8 entries to flush up to offset 3857
2021.04.14 07:10:24.650806 [ 387 ] {} <Debug> DiskLocal: Reserving 1.00 MiB on disk `default`, having unreserved 7.02 TiB.
2021.04.14 07:10:24.795317 [ 387 ] {} <Trace> system.metric_log (4364fc4a-bdb7-4beb-9b14-02a0dd96eb79): Renaming temporary part tmp_insert_202104_519_519_0 to 202104_526_526_0.
2021.04.14 07:10:24.797754 [ 367 ] {} <Debug> system.metric_log (4364fc4a-bdb7-4beb-9b14-02a0dd96eb79) (MergerMutator): Selected 6 parts from 202104_1_521_104 to 202104_526_526_0
```
if (current_connections)
                LOG_INFO(log, "Closed all listening sockets. Waiting for {} outstanding connections.", current_connections);
            else
                LOG_INFO(log, "Closed all listening sockets.");
            if (current_connections > 0)
                current_connections = waitServersToFinish(*servers_to_start_before_tables, config().getInt("shutdown_wait_unfinished", 5));
            if (current_connections)
                LOG_INFO(log, "Closed connections to servers for tables. But {} remain. Probably some tables of other users cannot finish their connections after context shutdown.", current_connections);
            else
                LOG_INFO(log, "Closed connections to servers for tables.");
            global_context->shutdownKeeperStorageDispatcher();
        }
        
        server_pool.joinAll();
        /** Explicitly destroy Context. It is more convenient than in destructor of Server, because logger is still available.
          * At this moment, no one could own shared part of Context.
          */
        global_context.reset();
        shared_context.reset();
        LOG_DEBUG(log, "Destroyed global context.");
    });
    
    
    global_context->setCurrentDatabaseNameInGlobalContext(default_database);
    LOG_INFO(log, "Loading metadata from {}", path);
    try
    {
        loadMetadataSystem(global_context);
        
        global_context->initializeSystemLogs();