@@ -5,10 +5,16 @@ CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
55# shellcheck source=../shell_config.sh
66. " $CUR_DIR " /../shell_config.sh
77
8+ settings=(
9+ # Not compatible with DC
10+ --write_through_distributed_cache=0
11+ --read_through_distributed_cache=0
12+ )
13+
814echo " cache_on_write_operations=0"
915endpoint=" http://localhost:11111/test/s3_plain_rewritable_${CLICKHOUSE_DATABASE} _cache_on_write_operations_0"
1016cache_path=" ${CLICKHOUSE_DATABASE} _cache_disk_cache_on_write_operations_0"
11- $CLICKHOUSE_CLIENT -nm -q "
17+ $CLICKHOUSE_CLIENT " ${settings[@]} " -nm -q "
1218drop table if exists mt1;
1319drop table if exists mt1;
1420drop table if exists mt3;
@@ -31,7 +37,7 @@ drop table mt4;
3137echo " cache_on_write_operations=1"
3238endpoint=" http://localhost:11111/test/s3_plain_rewritable_${CLICKHOUSE_DATABASE} _cache_on_write_operations_1"
3339cache_path=" ${CLICKHOUSE_DATABASE} _cache_disk_cache_on_write_operations_1"
34- $CLICKHOUSE_CLIENT -nm -q "
40+ $CLICKHOUSE_CLIENT " ${settings[@]} " -nm -q "
3541drop table if exists mt1;
3642drop table if exists mt1;
3743drop table if exists mt3;
0 commit comments