-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fullstack test for engine DeltaTree (#524)
## Add fullstack test for engine DeltaTree. * Refine `tests/docker/run.sh` and split `tests/docker/docker-compose.yaml` into `tests/docker/{gtest/mock-test/cluster/tiflash-dt/tiflash-tmt}.yaml` `fullstack/ddl`,`fullstack-test/fault-inject` will be enabled in #526 ## Others * Add column `tidb_table_id` in `system.tables` * Add some debugging info Signed-off-by: JaySon-Huang <[email protected]>
- Loading branch information
1 parent
aeb98b4
commit 8fd8dc5
Showing
20 changed files
with
290 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
version: '2.3' | ||
|
||
services: | ||
pd0: | ||
image: hub.pingcap.net/qa/pd:${BRANCH:-master} | ||
ports: | ||
- "2379:2379" | ||
volumes: | ||
- ./config/pd.toml:/pd.toml:ro | ||
- ./data/pd0:/data | ||
- ./log/pd0:/log | ||
command: | ||
- --name=pd0 | ||
- --client-urls=http://0.0.0.0:2379 | ||
- --peer-urls=http://0.0.0.0:2380 | ||
- --advertise-client-urls=http://pd0:2379 | ||
- --advertise-peer-urls=http://pd0:2380 | ||
- --initial-cluster=pd0=http://pd0:2380 | ||
- --config=/pd.toml | ||
- --data-dir=/data | ||
- --log-file=/log/pd.log | ||
restart: on-failure | ||
tikv0: | ||
image: hub.pingcap.net/qa/tikv:${BRANCH:-master} | ||
ports: | ||
- "20160:20160" | ||
volumes: | ||
- ./config/tikv.toml:/tikv.toml:ro | ||
- ./data/tikv0:/data | ||
- ./log/tikv0:/log | ||
command: | ||
- --addr=0.0.0.0:20160 | ||
- --advertise-addr=tikv0:20160 | ||
- --pd=pd0:2379 | ||
- --config=/tikv.toml | ||
- --data-dir=/data | ||
- --log-file=/log/tikv.log | ||
depends_on: | ||
- "pd0" | ||
restart: on-failure | ||
tidb0: | ||
image: hub.pingcap.net/qa/tidb:${BRANCH:-master} | ||
ports: | ||
- "4000:4000" | ||
- "10080:10080" | ||
volumes: | ||
- ./config/tidb.toml:/tidb.toml:ro | ||
- ./log/tidb0:/log | ||
command: | ||
- --store=tikv | ||
- --path=pd0:2379 | ||
- --config=/tidb.toml | ||
- --log-file=/log/tidb.log | ||
depends_on: | ||
- "tikv0" | ||
restart: on-failure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
tmp_path = "/tmp/tiflash/data/tmp" | ||
display_name = "TiFlash" | ||
default_profile = "default" | ||
users_config = "users.toml" | ||
# specify paths used for store data, multiple path should be seperated by comma | ||
path = "/tmp/tiflash/data/db" | ||
mark_cache_size = 5368709120 | ||
minmax_index_cache_size = 5368709120 | ||
listen_host = "0.0.0.0" | ||
tcp_port = 9000 | ||
http_port = 8123 | ||
interserver_http_port = 9009 | ||
[flash] | ||
tidb_status_addr = "tidb0:10080" | ||
service_addr = "tiflash0:3930" | ||
[flash.flash_cluster] | ||
refresh_interval = 20 | ||
update_rule_interval = 5 | ||
master_ttl = 60 | ||
cluster_manager_path = "/tiflash/flash_cluster_manager" | ||
[flash.proxy] | ||
addr = "0.0.0.0:20170" | ||
advertise-addr = "tiflash0:20170" | ||
data-dir = "/data" | ||
config = "/tikv.toml" | ||
log-file = "/log/tikv.log" | ||
[logger] | ||
count = 10 | ||
errorlog = "/tmp/tiflash/log/error.log" | ||
size = "1000M" | ||
log = "/tmp/tiflash/log/server.log" | ||
level = "trace" | ||
[application] | ||
runAsDaemon = true | ||
|
||
[raft] | ||
pd_addr = "pd0:2379" | ||
# specify which storage engine we use. tmt or dt | ||
storage_engine = "dt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.