From cd6cbab3b0366c1637e6a93278d593c47c0abe18 Mon Sep 17 00:00:00 2001 From: lance6716 Date: Sun, 21 Mar 2021 20:35:04 +0800 Subject: [PATCH] enable a short auto-compaction-retention to check DM handling compact error --- tests/all_mode/conf/dm-master.toml | 1 + tests/compatibility/conf/dm-master.toml | 1 + tests/dm_syncer/conf/dm-master.toml | 1 + tests/dmctl_advance/conf/dm-master.toml | 1 + tests/dmctl_command/conf/dm-master.toml | 1 + tests/drop_column_with_index/conf/dm-master.toml | 1 + tests/full_mode/conf/dm-master.toml | 1 + tests/gtid/conf/dm-master.toml | 1 + tests/ha/conf/dm-master1.toml | 1 + tests/ha/conf/dm-master2.toml | 2 +- tests/ha/conf/dm-master3.toml | 2 +- tests/ha/conf/dm-master4.toml | 1 + tests/ha/conf/dm-master5.toml | 1 + tests/ha/conf/dm-master6.toml | 1 + tests/ha_cases/conf/dm-master-join1.toml | 1 + tests/ha_cases/conf/dm-master-join2.toml | 2 +- tests/ha_cases/conf/dm-master-join3.toml | 2 +- tests/ha_cases/conf/dm-master-join4.toml | 2 +- tests/ha_cases/conf/dm-master-join5.toml | 2 +- tests/ha_cases/conf/dm-master1.toml | 1 + tests/ha_cases/conf/dm-master2.toml | 2 +- tests/ha_cases/conf/dm-master3.toml | 2 +- tests/ha_master/conf/dm-master-join1.toml | 1 + tests/ha_master/conf/dm-master1.toml | 2 +- tests/ha_master/conf/dm-master2.toml | 1 + tests/ha_master/conf/dm-master3.toml | 1 + tests/ha_master/conf/dm-master4.toml | 1 + tests/ha_master/conf/dm-master5.toml | 1 + tests/handle_error/conf/dm-master.toml | 1 + tests/http_apis/conf/dm-master.toml | 1 + tests/import_goroutine_leak/conf/dm-master.toml | 1 + tests/import_v10x/conf/dm-master.toml | 1 + tests/incremental_mode/conf/dm-master.toml | 1 + tests/initial_unit/conf/dm-master.toml | 1 + tests/load_interrupt/conf/dm-master.toml | 1 + tests/many_tables/conf/dm-master.toml | 1 + tests/online_ddl/conf/dm-master.toml | 1 + tests/only_dml/conf/dm-master.toml | 1 + tests/print_status/conf/dm-master.toml | 1 + tests/relay_interrupt/conf/dm-master.toml | 1 + tests/retry_cancel/conf/dm-master.toml | 1 + tests/safe_mode/conf/dm-master.toml | 1 + tests/sequence_safe_mode/conf/dm-master.toml | 1 + tests/sequence_sharding/conf/dm-master.toml | 1 + tests/sequence_sharding_optimistic/conf/dm-master.toml | 1 + tests/sequence_sharding_removemeta/conf/dm-master.toml | 1 + tests/shardddl1/conf/dm-master.toml | 1 + tests/shardddl2/conf/dm-master.toml | 1 + tests/shardddl3/conf/dm-master.toml | 1 + tests/sharding/conf/dm-master.toml | 1 + tests/sharding2/conf/dm-master.toml | 1 + tests/start_task/conf/dm-master.toml | 1 + tests/tls/conf/dm-master1.toml | 1 + tests/tls/conf/dm-master2.toml | 2 +- tests/tls/conf/dm-master3.toml | 2 +- tests/upstream_switch/conf/dm-master.toml | 1 + 56 files changed, 56 insertions(+), 11 deletions(-) diff --git a/tests/all_mode/conf/dm-master.toml b/tests/all_mode/conf/dm-master.toml index 9b360834d3..53a294e7d0 100644 --- a/tests/all_mode/conf/dm-master.toml +++ b/tests/all_mode/conf/dm-master.toml @@ -3,3 +3,4 @@ master-addr = ":8261" advertise-addr = "127.0.0.1:8261" rpc-timeout = "30s" +auto-compaction-retention = "3s" diff --git a/tests/compatibility/conf/dm-master.toml b/tests/compatibility/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/compatibility/conf/dm-master.toml +++ b/tests/compatibility/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/dm_syncer/conf/dm-master.toml b/tests/dm_syncer/conf/dm-master.toml index bdeb27b605..1eda3f47e1 100644 --- a/tests/dm_syncer/conf/dm-master.toml +++ b/tests/dm_syncer/conf/dm-master.toml @@ -2,3 +2,4 @@ master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/dmctl_advance/conf/dm-master.toml b/tests/dmctl_advance/conf/dm-master.toml index 14ac020290..c014ffb07c 100644 --- a/tests/dmctl_advance/conf/dm-master.toml +++ b/tests/dmctl_advance/conf/dm-master.toml @@ -2,3 +2,4 @@ master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/dmctl_command/conf/dm-master.toml b/tests/dmctl_command/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/dmctl_command/conf/dm-master.toml +++ b/tests/dmctl_command/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/drop_column_with_index/conf/dm-master.toml b/tests/drop_column_with_index/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/drop_column_with_index/conf/dm-master.toml +++ b/tests/drop_column_with_index/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/full_mode/conf/dm-master.toml b/tests/full_mode/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/full_mode/conf/dm-master.toml +++ b/tests/full_mode/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/gtid/conf/dm-master.toml b/tests/gtid/conf/dm-master.toml index 9b360834d3..53a294e7d0 100644 --- a/tests/gtid/conf/dm-master.toml +++ b/tests/gtid/conf/dm-master.toml @@ -3,3 +3,4 @@ master-addr = ":8261" advertise-addr = "127.0.0.1:8261" rpc-timeout = "30s" +auto-compaction-retention = "3s" diff --git a/tests/ha/conf/dm-master1.toml b/tests/ha/conf/dm-master1.toml index 13eb92f3cc..78fd5845ae 100644 --- a/tests/ha/conf/dm-master1.toml +++ b/tests/ha/conf/dm-master1.toml @@ -4,3 +4,4 @@ master-addr = ":8261" advertise-addr = "127.0.0.1:8261" peer-urls = "127.0.0.1:8291" initial-cluster = "master1=http://127.0.0.1:8291,master2=http://127.0.0.1:8292" +auto-compaction-retention = "3s" diff --git a/tests/ha/conf/dm-master2.toml b/tests/ha/conf/dm-master2.toml index 587092d387..d91a0362e2 100644 --- a/tests/ha/conf/dm-master2.toml +++ b/tests/ha/conf/dm-master2.toml @@ -3,4 +3,4 @@ name = "master2" master-addr = ":8361" advertise-addr = "127.0.0.1:8361" peer-urls = "127.0.0.1:8292" -initial-cluster = "master1=http://127.0.0.1:8291,master2=http://127.0.0.1:8292" \ No newline at end of file +initial-cluster = "master1=http://127.0.0.1:8291,master2=http://127.0.0.1:8292"auto-compaction-retention = "3s" diff --git a/tests/ha/conf/dm-master3.toml b/tests/ha/conf/dm-master3.toml index 68132a9e7b..cde2807e7a 100644 --- a/tests/ha/conf/dm-master3.toml +++ b/tests/ha/conf/dm-master3.toml @@ -3,4 +3,4 @@ name = "master3" master-addr = ":8461" advertise-addr = "127.0.0.1:8461" peer-urls = "http://127.0.0.1:8293" -join = "127.0.0.1:8261,127.0.0.1:8361" \ No newline at end of file +join = "127.0.0.1:8261,127.0.0.1:8361"auto-compaction-retention = "3s" diff --git a/tests/ha/conf/dm-master4.toml b/tests/ha/conf/dm-master4.toml index 00ea67f196..44fc0689b5 100644 --- a/tests/ha/conf/dm-master4.toml +++ b/tests/ha/conf/dm-master4.toml @@ -4,3 +4,4 @@ master-addr = ":8561" advertise-addr = "127.0.0.1:8561" peer-urls = "http://127.0.0.1:8294" join = "127.0.0.1:8261,127.0.0.1:8361,127.0.0.1:8461" +auto-compaction-retention = "3s" diff --git a/tests/ha/conf/dm-master5.toml b/tests/ha/conf/dm-master5.toml index 9c06c40544..15e4f3c96e 100644 --- a/tests/ha/conf/dm-master5.toml +++ b/tests/ha/conf/dm-master5.toml @@ -4,3 +4,4 @@ master-addr = ":8661" advertise-addr = "127.0.0.1:8661" peer-urls = "http://127.0.0.1:8295" join = "127.0.0.1:8261,127.0.0.1:8361,127.0.0.1:8461,127.0.0.1:8561" +auto-compaction-retention = "3s" diff --git a/tests/ha/conf/dm-master6.toml b/tests/ha/conf/dm-master6.toml index 4fb0059c43..e8494af359 100644 --- a/tests/ha/conf/dm-master6.toml +++ b/tests/ha/conf/dm-master6.toml @@ -4,3 +4,4 @@ master-addr = ":8761" advertise-addr = "127.0.0.1:8761" peer-urls = "http://127.0.0.1:8296" join = "127.0.0.1:8261,127.0.0.1:8361,127.0.0.1:8461,127.0.0.1:8561,127.0.0.1:8661" +auto-compaction-retention = "3s" diff --git a/tests/ha_cases/conf/dm-master-join1.toml b/tests/ha_cases/conf/dm-master-join1.toml index aa24d7d7d3..e700eeffa5 100644 --- a/tests/ha_cases/conf/dm-master-join1.toml +++ b/tests/ha_cases/conf/dm-master-join1.toml @@ -4,3 +4,4 @@ master-addr = ":8261" advertise-addr = "127.0.0.1:8261" peer-urls = "127.0.0.1:8291" initial-cluster = "master1=http://127.0.0.1:8291" +auto-compaction-retention = "3s" diff --git a/tests/ha_cases/conf/dm-master-join2.toml b/tests/ha_cases/conf/dm-master-join2.toml index c0fef373e5..7367466917 100644 --- a/tests/ha_cases/conf/dm-master-join2.toml +++ b/tests/ha_cases/conf/dm-master-join2.toml @@ -3,4 +3,4 @@ name = "master2" master-addr = ":8361" advertise-addr = "127.0.0.1:8361" peer-urls = "http://127.0.0.1:8292" -join = "127.0.0.1:8261" \ No newline at end of file +join = "127.0.0.1:8261"auto-compaction-retention = "3s" diff --git a/tests/ha_cases/conf/dm-master-join3.toml b/tests/ha_cases/conf/dm-master-join3.toml index d03e40f8c8..97e3693931 100644 --- a/tests/ha_cases/conf/dm-master-join3.toml +++ b/tests/ha_cases/conf/dm-master-join3.toml @@ -3,4 +3,4 @@ name = "master3" master-addr = ":8461" advertise-addr = "127.0.0.1:8461" peer-urls = "http://127.0.0.1:8293" -join = "127.0.0.1:8261,127.0.0.1:8361" \ No newline at end of file +join = "127.0.0.1:8261,127.0.0.1:8361"auto-compaction-retention = "3s" diff --git a/tests/ha_cases/conf/dm-master-join4.toml b/tests/ha_cases/conf/dm-master-join4.toml index d458a9f2b2..948d94d495 100644 --- a/tests/ha_cases/conf/dm-master-join4.toml +++ b/tests/ha_cases/conf/dm-master-join4.toml @@ -3,4 +3,4 @@ name = "master4" master-addr = ":8561" advertise-addr = "127.0.0.1:8561" peer-urls = "http://127.0.0.1:8294" -join = "127.0.0.1:8261,127.0.0.1:8361,127.0.0.1:8461" \ No newline at end of file +join = "127.0.0.1:8261,127.0.0.1:8361,127.0.0.1:8461"auto-compaction-retention = "3s" diff --git a/tests/ha_cases/conf/dm-master-join5.toml b/tests/ha_cases/conf/dm-master-join5.toml index 82c09289a9..a5c8853464 100644 --- a/tests/ha_cases/conf/dm-master-join5.toml +++ b/tests/ha_cases/conf/dm-master-join5.toml @@ -3,4 +3,4 @@ name = "master5" master-addr = ":8661" advertise-addr = "127.0.0.1:8661" peer-urls = "http://127.0.0.1:8295" -join = "127.0.0.1:8261,127.0.0.1:8361,127.0.0.1:8461,127.0.0.1:8561" \ No newline at end of file +join = "127.0.0.1:8261,127.0.0.1:8361,127.0.0.1:8461,127.0.0.1:8561"auto-compaction-retention = "3s" diff --git a/tests/ha_cases/conf/dm-master1.toml b/tests/ha_cases/conf/dm-master1.toml index 491b5487df..3c6aa40c1f 100644 --- a/tests/ha_cases/conf/dm-master1.toml +++ b/tests/ha_cases/conf/dm-master1.toml @@ -4,3 +4,4 @@ master-addr = ":8261" advertise-addr = "127.0.0.1:8261" peer-urls = "127.0.0.1:8291" initial-cluster = "master1=http://127.0.0.1:8291,master2=http://127.0.0.1:8292,master3=http://127.0.0.1:8293" +auto-compaction-retention = "3s" diff --git a/tests/ha_cases/conf/dm-master2.toml b/tests/ha_cases/conf/dm-master2.toml index 47c241dbc6..bcf41858e2 100644 --- a/tests/ha_cases/conf/dm-master2.toml +++ b/tests/ha_cases/conf/dm-master2.toml @@ -3,4 +3,4 @@ name = "master2" master-addr = ":8361" advertise-addr = "127.0.0.1:8361" peer-urls = "127.0.0.1:8292" -initial-cluster = "master1=http://127.0.0.1:8291,master2=http://127.0.0.1:8292,master3=http://127.0.0.1:8293" \ No newline at end of file +initial-cluster = "master1=http://127.0.0.1:8291,master2=http://127.0.0.1:8292,master3=http://127.0.0.1:8293"auto-compaction-retention = "3s" diff --git a/tests/ha_cases/conf/dm-master3.toml b/tests/ha_cases/conf/dm-master3.toml index 47caf87fed..96e5d58c35 100644 --- a/tests/ha_cases/conf/dm-master3.toml +++ b/tests/ha_cases/conf/dm-master3.toml @@ -3,4 +3,4 @@ name = "master3" master-addr = ":8461" advertise-addr = "127.0.0.1:8461" peer-urls = "127.0.0.1:8293" -initial-cluster = "master1=http://127.0.0.1:8291,master2=http://127.0.0.1:8292,master3=http://127.0.0.1:8293" \ No newline at end of file +initial-cluster = "master1=http://127.0.0.1:8291,master2=http://127.0.0.1:8292,master3=http://127.0.0.1:8293"auto-compaction-retention = "3s" diff --git a/tests/ha_master/conf/dm-master-join1.toml b/tests/ha_master/conf/dm-master-join1.toml index 986ccff55a..2e19311c12 100644 --- a/tests/ha_master/conf/dm-master-join1.toml +++ b/tests/ha_master/conf/dm-master-join1.toml @@ -4,3 +4,4 @@ master-addr = ":8261" advertise-addr = "localhost:8261" peer-urls = "http://localhost:8291" join = "localhost:8461,localhost:8561,localhost:8661" +auto-compaction-retention = "3s" diff --git a/tests/ha_master/conf/dm-master1.toml b/tests/ha_master/conf/dm-master1.toml index e7277abe51..cc1f8b68f3 100644 --- a/tests/ha_master/conf/dm-master1.toml +++ b/tests/ha_master/conf/dm-master1.toml @@ -3,4 +3,4 @@ name = "master1" master-addr = ":8261" advertise-addr = "localhost:8261" peer-urls = "localhost:8291" -initial-cluster = "master1=http://localhost:8291,master2=http://localhost:8292,master3=http://localhost:8293,master4=http://localhost:8294,master5=http://localhost:8295" \ No newline at end of file +initial-cluster = "master1=http://localhost:8291,master2=http://localhost:8292,master3=http://localhost:8293,master4=http://localhost:8294,master5=http://localhost:8295"auto-compaction-retention = "3s" diff --git a/tests/ha_master/conf/dm-master2.toml b/tests/ha_master/conf/dm-master2.toml index 1c48cfb521..bae72e78c7 100644 --- a/tests/ha_master/conf/dm-master2.toml +++ b/tests/ha_master/conf/dm-master2.toml @@ -4,3 +4,4 @@ master-addr = ":8361" advertise-addr = "localhost:8361" peer-urls = "localhost:8292" initial-cluster = "master1=http://localhost:8291,master2=http://localhost:8292,master3=http://localhost:8293,master4=http://localhost:8294,master5=http://localhost:8295" +auto-compaction-retention = "3s" diff --git a/tests/ha_master/conf/dm-master3.toml b/tests/ha_master/conf/dm-master3.toml index 5f746ab210..9a82bd6376 100644 --- a/tests/ha_master/conf/dm-master3.toml +++ b/tests/ha_master/conf/dm-master3.toml @@ -4,3 +4,4 @@ master-addr = ":8461" advertise-addr = "localhost:8461" peer-urls = "localhost:8293" initial-cluster = "master1=http://localhost:8291,master2=http://localhost:8292,master3=http://localhost:8293,master4=http://localhost:8294,master5=http://localhost:8295" +auto-compaction-retention = "3s" diff --git a/tests/ha_master/conf/dm-master4.toml b/tests/ha_master/conf/dm-master4.toml index 5d2b093778..84c1143c30 100644 --- a/tests/ha_master/conf/dm-master4.toml +++ b/tests/ha_master/conf/dm-master4.toml @@ -4,3 +4,4 @@ master-addr = ":8561" advertise-addr = "localhost:8561" peer-urls = "localhost:8294" initial-cluster = "master1=http://localhost:8291,master2=http://localhost:8292,master3=http://localhost:8293,master4=http://localhost:8294,master5=http://localhost:8295" +auto-compaction-retention = "3s" diff --git a/tests/ha_master/conf/dm-master5.toml b/tests/ha_master/conf/dm-master5.toml index fd28f23ac8..461bb1b5aa 100644 --- a/tests/ha_master/conf/dm-master5.toml +++ b/tests/ha_master/conf/dm-master5.toml @@ -4,3 +4,4 @@ master-addr = ":8661" advertise-addr = "localhost:8661" peer-urls = "localhost:8295" initial-cluster = "master1=http://localhost:8291,master2=http://localhost:8292,master3=http://localhost:8293,master4=http://localhost:8294,master5=http://localhost:8295" +auto-compaction-retention = "3s" diff --git a/tests/handle_error/conf/dm-master.toml b/tests/handle_error/conf/dm-master.toml index aa24d7d7d3..e700eeffa5 100644 --- a/tests/handle_error/conf/dm-master.toml +++ b/tests/handle_error/conf/dm-master.toml @@ -4,3 +4,4 @@ master-addr = ":8261" advertise-addr = "127.0.0.1:8261" peer-urls = "127.0.0.1:8291" initial-cluster = "master1=http://127.0.0.1:8291" +auto-compaction-retention = "3s" diff --git a/tests/http_apis/conf/dm-master.toml b/tests/http_apis/conf/dm-master.toml index 2811f72c6e..c9c8ec3fde 100644 --- a/tests/http_apis/conf/dm-master.toml +++ b/tests/http_apis/conf/dm-master.toml @@ -2,3 +2,4 @@ name = "master1" master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/import_goroutine_leak/conf/dm-master.toml b/tests/import_goroutine_leak/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/import_goroutine_leak/conf/dm-master.toml +++ b/tests/import_goroutine_leak/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/import_v10x/conf/dm-master.toml b/tests/import_v10x/conf/dm-master.toml index 3c534e9f28..f091bf702a 100644 --- a/tests/import_v10x/conf/dm-master.toml +++ b/tests/import_v10x/conf/dm-master.toml @@ -2,3 +2,4 @@ master-addr = ":8261" advertise-addr = "127.0.0.1:8261" v1-sources-path = "./v1-sources" +auto-compaction-retention = "3s" diff --git a/tests/incremental_mode/conf/dm-master.toml b/tests/incremental_mode/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/incremental_mode/conf/dm-master.toml +++ b/tests/incremental_mode/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/initial_unit/conf/dm-master.toml b/tests/initial_unit/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/initial_unit/conf/dm-master.toml +++ b/tests/initial_unit/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/load_interrupt/conf/dm-master.toml b/tests/load_interrupt/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/load_interrupt/conf/dm-master.toml +++ b/tests/load_interrupt/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/many_tables/conf/dm-master.toml b/tests/many_tables/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/many_tables/conf/dm-master.toml +++ b/tests/many_tables/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/online_ddl/conf/dm-master.toml b/tests/online_ddl/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/online_ddl/conf/dm-master.toml +++ b/tests/online_ddl/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/only_dml/conf/dm-master.toml b/tests/only_dml/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/only_dml/conf/dm-master.toml +++ b/tests/only_dml/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/print_status/conf/dm-master.toml b/tests/print_status/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/print_status/conf/dm-master.toml +++ b/tests/print_status/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/relay_interrupt/conf/dm-master.toml b/tests/relay_interrupt/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/relay_interrupt/conf/dm-master.toml +++ b/tests/relay_interrupt/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/retry_cancel/conf/dm-master.toml b/tests/retry_cancel/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/retry_cancel/conf/dm-master.toml +++ b/tests/retry_cancel/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/safe_mode/conf/dm-master.toml b/tests/safe_mode/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/safe_mode/conf/dm-master.toml +++ b/tests/safe_mode/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/sequence_safe_mode/conf/dm-master.toml b/tests/sequence_safe_mode/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/sequence_safe_mode/conf/dm-master.toml +++ b/tests/sequence_safe_mode/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/sequence_sharding/conf/dm-master.toml b/tests/sequence_sharding/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/sequence_sharding/conf/dm-master.toml +++ b/tests/sequence_sharding/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/sequence_sharding_optimistic/conf/dm-master.toml b/tests/sequence_sharding_optimistic/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/sequence_sharding_optimistic/conf/dm-master.toml +++ b/tests/sequence_sharding_optimistic/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/sequence_sharding_removemeta/conf/dm-master.toml b/tests/sequence_sharding_removemeta/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/sequence_sharding_removemeta/conf/dm-master.toml +++ b/tests/sequence_sharding_removemeta/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/shardddl1/conf/dm-master.toml b/tests/shardddl1/conf/dm-master.toml index aa24d7d7d3..e700eeffa5 100644 --- a/tests/shardddl1/conf/dm-master.toml +++ b/tests/shardddl1/conf/dm-master.toml @@ -4,3 +4,4 @@ master-addr = ":8261" advertise-addr = "127.0.0.1:8261" peer-urls = "127.0.0.1:8291" initial-cluster = "master1=http://127.0.0.1:8291" +auto-compaction-retention = "3s" diff --git a/tests/shardddl2/conf/dm-master.toml b/tests/shardddl2/conf/dm-master.toml index aa24d7d7d3..e700eeffa5 100644 --- a/tests/shardddl2/conf/dm-master.toml +++ b/tests/shardddl2/conf/dm-master.toml @@ -4,3 +4,4 @@ master-addr = ":8261" advertise-addr = "127.0.0.1:8261" peer-urls = "127.0.0.1:8291" initial-cluster = "master1=http://127.0.0.1:8291" +auto-compaction-retention = "3s" diff --git a/tests/shardddl3/conf/dm-master.toml b/tests/shardddl3/conf/dm-master.toml index aa24d7d7d3..e700eeffa5 100644 --- a/tests/shardddl3/conf/dm-master.toml +++ b/tests/shardddl3/conf/dm-master.toml @@ -4,3 +4,4 @@ master-addr = ":8261" advertise-addr = "127.0.0.1:8261" peer-urls = "127.0.0.1:8291" initial-cluster = "master1=http://127.0.0.1:8291" +auto-compaction-retention = "3s" diff --git a/tests/sharding/conf/dm-master.toml b/tests/sharding/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/sharding/conf/dm-master.toml +++ b/tests/sharding/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/sharding2/conf/dm-master.toml b/tests/sharding2/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/sharding2/conf/dm-master.toml +++ b/tests/sharding2/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/start_task/conf/dm-master.toml b/tests/start_task/conf/dm-master.toml index 9a36bcbc84..7cecf59ad8 100644 --- a/tests/start_task/conf/dm-master.toml +++ b/tests/start_task/conf/dm-master.toml @@ -1,3 +1,4 @@ # Master Configuration. master-addr = ":8261" advertise-addr = "127.0.0.1:8261" +auto-compaction-retention = "3s" diff --git a/tests/tls/conf/dm-master1.toml b/tests/tls/conf/dm-master1.toml index fdae0252af..c321b44c7a 100644 --- a/tests/tls/conf/dm-master1.toml +++ b/tests/tls/conf/dm-master1.toml @@ -9,3 +9,4 @@ ssl-ca = "dir-placeholer/ca.pem" ssl-cert = "dir-placeholer/dm.pem" ssl-key = "dir-placeholer/dm.key" cert-allowed-cn = ["dm"] +auto-compaction-retention = "3s" diff --git a/tests/tls/conf/dm-master2.toml b/tests/tls/conf/dm-master2.toml index d107e4a4cd..738842b416 100644 --- a/tests/tls/conf/dm-master2.toml +++ b/tests/tls/conf/dm-master2.toml @@ -8,4 +8,4 @@ initial-cluster = "master1=https://127.0.0.1:8291,master2=http://127.0.0.1:8292, ssl-ca = "dir-placeholer/ca.pem" ssl-cert = "dir-placeholer/dm.pem" ssl-key = "dir-placeholer/dm.key" -cert-allowed-cn = ["dm"] \ No newline at end of file +cert-allowed-cn = ["dm"]auto-compaction-retention = "3s" diff --git a/tests/tls/conf/dm-master3.toml b/tests/tls/conf/dm-master3.toml index 5e85ac017f..0d9ee8c1f5 100644 --- a/tests/tls/conf/dm-master3.toml +++ b/tests/tls/conf/dm-master3.toml @@ -8,4 +8,4 @@ initial-cluster = "master1=http://127.0.0.1:8291,master2=https://127.0.0.1:8292, ssl-ca = "dir-placeholer/ca.pem" ssl-cert = "dir-placeholer/dm.pem" ssl-key = "dir-placeholer/dm.key" -cert-allowed-cn = ["dm"] \ No newline at end of file +cert-allowed-cn = ["dm"]auto-compaction-retention = "3s" diff --git a/tests/upstream_switch/conf/dm-master.toml b/tests/upstream_switch/conf/dm-master.toml index aa24d7d7d3..e700eeffa5 100644 --- a/tests/upstream_switch/conf/dm-master.toml +++ b/tests/upstream_switch/conf/dm-master.toml @@ -4,3 +4,4 @@ master-addr = ":8261" advertise-addr = "127.0.0.1:8261" peer-urls = "127.0.0.1:8291" initial-cluster = "master1=http://127.0.0.1:8291" +auto-compaction-retention = "3s"