mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Disallow concurrency for backup restore test, added another insert block to data and setting mutations_sync
This commit is contained in:
parent
8cd36d2a36
commit
722404ca64
@ -101,6 +101,7 @@ def new_backup_name():
|
|||||||
|
|
||||||
|
|
||||||
def create_and_fill_table():
|
def create_and_fill_table():
|
||||||
|
node0.query("SET mutations_sync=2");
|
||||||
node0.query(
|
node0.query(
|
||||||
"CREATE TABLE tbl ON CLUSTER 'cluster' ("
|
"CREATE TABLE tbl ON CLUSTER 'cluster' ("
|
||||||
"x UInt64"
|
"x UInt64"
|
||||||
@ -108,7 +109,8 @@ def create_and_fill_table():
|
|||||||
"ORDER BY x"
|
"ORDER BY x"
|
||||||
)
|
)
|
||||||
for i in range(num_nodes):
|
for i in range(num_nodes):
|
||||||
nodes[i].query(f"INSERT INTO tbl SELECT number FROM numbers(80000000)")
|
nodes[i].query(f"INSERT INTO tbl SELECT number FROM numbers(100000000)")
|
||||||
|
nodes[i].query(f"INSERT INTO tbl SELECT number+100000000 FROM numbers(100000000)")
|
||||||
|
|
||||||
|
|
||||||
# All the tests have concurrent backup/restores with same backup names
|
# All the tests have concurrent backup/restores with same backup names
|
||||||
|
Loading…
Reference in New Issue
Block a user