Skip to content

Commit

Permalink
feat:fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
myfjdthink committed Jul 13, 2022
1 parent 042acd4 commit 25c2d9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ default user is root
password is empty


check be config, is empty
check backends config, is empty
```sql
SHOW PROC '/backends';
```


config be
config backends
```sql
ALTER SYSTEM ADD BACKEND "doris-docker-compose_doris-be_1:9050";
ALTER SYSTEM ADD BACKEND "doris-docker-compose_doris-be_2:9050";
ALTER SYSTEM ADD BACKEND "doris-docker-compose_doris-be_3:9050";
```

check be config again, be Alive is ture
check backends config again, backends Alive value should be ture
```sql
SHOW PROC '/backends';
```
Expand All @@ -60,7 +60,7 @@ select * from testdb.test_table;
```

## restart
因为 doris 使用文件存储 be 的 ip 信息, docker-compose restart 后,可能会导致 be ip 发生变化,导致 fe 启动失败。
因为 doris 使用文件存储 backends 的 ip 信息, docker-compose restart 后,可能会导致 backends ip 发生变化,导致 fe 启动失败。
可以清除 volume 数据,再重启即可

clear volume
Expand Down

0 comments on commit 25c2d9f

Please sign in to comment.