Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Commit

Permalink
enable a short auto-compaction-retention to check DM handling compact…
Browse files Browse the repository at this point in the history
… error
  • Loading branch information
lance6716 committed Mar 21, 2021
1 parent 6332c09 commit cd6cbab
Show file tree
Hide file tree
Showing 56 changed files with 56 additions and 11 deletions.
1 change: 1 addition & 0 deletions tests/all_mode/conf/dm-master.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"

rpc-timeout = "30s"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/compatibility/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/dm_syncer/conf/dm-master.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"

auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/dmctl_advance/conf/dm-master.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/dmctl_command/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/drop_column_with_index/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/full_mode/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/gtid/conf/dm-master.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"

rpc-timeout = "30s"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/ha/conf/dm-master1.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion tests/ha/conf/dm-master2.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
initial-cluster = "master1=http://127.0.0.1:8291,master2=http://127.0.0.1:8292"auto-compaction-retention = "3s"
2 changes: 1 addition & 1 deletion tests/ha/conf/dm-master3.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
join = "127.0.0.1:8261,127.0.0.1:8361"auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/ha/conf/dm-master4.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 1 addition & 0 deletions tests/ha/conf/dm-master5.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 1 addition & 0 deletions tests/ha/conf/dm-master6.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 1 addition & 0 deletions tests/ha_cases/conf/dm-master-join1.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion tests/ha_cases/conf/dm-master-join2.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
join = "127.0.0.1:8261"auto-compaction-retention = "3s"
2 changes: 1 addition & 1 deletion tests/ha_cases/conf/dm-master-join3.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
join = "127.0.0.1:8261,127.0.0.1:8361"auto-compaction-retention = "3s"
2 changes: 1 addition & 1 deletion tests/ha_cases/conf/dm-master-join4.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
join = "127.0.0.1:8261,127.0.0.1:8361,127.0.0.1:8461"auto-compaction-retention = "3s"
2 changes: 1 addition & 1 deletion tests/ha_cases/conf/dm-master-join5.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
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"
1 change: 1 addition & 0 deletions tests/ha_cases/conf/dm-master1.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion tests/ha_cases/conf/dm-master2.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
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"
2 changes: 1 addition & 1 deletion tests/ha_cases/conf/dm-master3.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
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"
1 change: 1 addition & 0 deletions tests/ha_master/conf/dm-master-join1.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion tests/ha_master/conf/dm-master1.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
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"
1 change: 1 addition & 0 deletions tests/ha_master/conf/dm-master2.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 1 addition & 0 deletions tests/ha_master/conf/dm-master3.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 1 addition & 0 deletions tests/ha_master/conf/dm-master4.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 1 addition & 0 deletions tests/ha_master/conf/dm-master5.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 1 addition & 0 deletions tests/handle_error/conf/dm-master.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 1 addition & 0 deletions tests/http_apis/conf/dm-master.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
name = "master1"
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/import_goroutine_leak/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/import_v10x/conf/dm-master.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
v1-sources-path = "./v1-sources"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/incremental_mode/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/initial_unit/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/load_interrupt/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/many_tables/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/online_ddl/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/only_dml/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/print_status/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/relay_interrupt/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/retry_cancel/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/safe_mode/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/sequence_safe_mode/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/sequence_sharding/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/sequence_sharding_optimistic/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/sequence_sharding_removemeta/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/shardddl1/conf/dm-master.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 1 addition & 0 deletions tests/shardddl2/conf/dm-master.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 1 addition & 0 deletions tests/shardddl3/conf/dm-master.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 1 addition & 0 deletions tests/sharding/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/sharding2/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/start_task/conf/dm-master.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Master Configuration.
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/tls/conf/dm-master1.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion tests/tls/conf/dm-master2.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
cert-allowed-cn = ["dm"]auto-compaction-retention = "3s"
2 changes: 1 addition & 1 deletion tests/tls/conf/dm-master3.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
cert-allowed-cn = ["dm"]auto-compaction-retention = "3s"
1 change: 1 addition & 0 deletions tests/upstream_switch/conf/dm-master.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit cd6cbab

Please sign in to comment.