Skip to content

Commit

Permalink
version
Browse files Browse the repository at this point in the history
  • Loading branch information
yanhuqing666 committed Apr 19, 2021
1 parent 4b70f38 commit 6c6db04
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions 1.config_file/1.10_version_change.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,38 @@ dble在3.21.02.0版本对序列的存储结构进行了调整
#### <span id="config-update-3.20.07.0"> 1.10.2.1 配置文件版本变更</span>

dble 在3.20.07.0 版本做了配置的重构。历史变更请参考[2.20.04.0的变更](https://github.com/actiontech/dble-docs-cn/blob/2.20.04.1/tag/1.config_file/1.10_version_change.md)

可以通过升级工具[dble_update_config](pic/dble_update_config)将配置从2.20.04.0 升级到3.20.07.0,如果是更早版本,建议先升级到2.20.04.0

升级工具用法:

```
dble_update_config [-i=read_dir] [-o=write_dir] [-p=rootPath]
```
read_dir/write_dir: 如果不指定,缺省值为当前目录,建议指定或者提前备份配置
rootPath:如果集群模式是zk, 那么缺省值为 `/dble`, 如果集群模式是ucore, 缺省值为`universe/dble`

工具将会读取文件:
myid.properties
wrapper.conf
server.xml
schema.xml
rule.xml
log4j2.xml
cacheservice.properties(option)
sequence_distributed_conf.properties for type3 (option)
sequence_time_conf.properties for type2 (option)

然后写出文件:
cluster.cnf
bootstrap.cnf
user.xml
db.xml
sharding.xml
log4j2.xml
cacheservice.properties(option)


重构后的配置概览图:
![配置概览图](pic/3.20.07.0_config.png)

Expand Down

0 comments on commit 6c6db04

Please sign in to comment.