Skip to content

Commit 6c6db04

Browse files
committed
version
1 parent 4b70f38 commit 6c6db04

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

1.config_file/1.10_version_change.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,38 @@ dble在3.21.02.0版本对序列的存储结构进行了调整
5656
#### <span id="config-update-3.20.07.0"> 1.10.2.1 配置文件版本变更</span>
5757

5858
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)
59+
60+
可以通过升级工具[dble_update_config](pic/dble_update_config)将配置从2.20.04.0 升级到3.20.07.0,如果是更早版本,建议先升级到2.20.04.0
61+
62+
升级工具用法:
63+
64+
```
65+
dble_update_config [-i=read_dir] [-o=write_dir] [-p=rootPath]
66+
```
67+
read_dir/write_dir: 如果不指定,缺省值为当前目录,建议指定或者提前备份配置
68+
rootPath:如果集群模式是zk, 那么缺省值为 `/dble`, 如果集群模式是ucore, 缺省值为`universe/dble`
69+
70+
工具将会读取文件:
71+
myid.properties
72+
wrapper.conf
73+
server.xml
74+
schema.xml
75+
rule.xml
76+
log4j2.xml
77+
cacheservice.properties(option)
78+
sequence_distributed_conf.properties for type3 (option)
79+
sequence_time_conf.properties for type2 (option)
80+
81+
然后写出文件:
82+
cluster.cnf
83+
bootstrap.cnf
84+
user.xml
85+
db.xml
86+
sharding.xml
87+
log4j2.xml
88+
cacheservice.properties(option)
89+
90+
5991
重构后的配置概览图:
6092
![配置概览图](pic/3.20.07.0_config.png)
6193

0 commit comments

Comments
 (0)