Add a smoke test for SYSTEM RESTART REPLICAS

This commit is contained in:
Azat Khuzhin 2021-01-10 12:20:03 +03:00
parent 30741232d2
commit ff16f68116
3 changed files with 9 additions and 1 deletions

View File

@ -0,0 +1,2 @@
x Date
s String

View File

@ -0,0 +1,5 @@
DROP TABLE IF EXISTS data_01646;
CREATE TABLE data_01646 (x Date, s String) ENGINE = ReplicatedMergeTree('/clickhouse/tables/test_01646/data_01646', 'r') ORDER BY s PARTITION BY x;
SYSTEM RESTART REPLICAS;
DESCRIBE TABLE data_01646;
DROP TABLE data_01646;

View File

@ -15,7 +15,8 @@
"01526_max_untracked_memory", /// requires TraceCollector, does not available under sanitizers "01526_max_untracked_memory", /// requires TraceCollector, does not available under sanitizers
"01474_executable_dictionary", /// informational stderr from sanitizer at start "01474_executable_dictionary", /// informational stderr from sanitizer at start
"functions_bad_arguments", /// Too long for TSan "functions_bad_arguments", /// Too long for TSan
"01603_read_with_backoff_bug" /// Too long for TSan "01603_read_with_backoff_bug", /// Too long for TSan
"01646_system_restart_replicas_smoke" /// RESTART REPLICAS can acquire too much locks, while only 64 is possible from one thread under TSan
], ],
"address-sanitizer": [ "address-sanitizer": [
"00877", "00877",