Disallow concurrency for backup restore test, added another insert block to data and setting mutations_sync

This commit is contained in:
Smita Kulkarni 2023-03-20 10:34:55 +01:00
parent 8cd36d2a36
commit 722404ca64

View File

@ -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