Skip to content

Commit 3fb35d1

Browse files
zengqiaoZQKC
authored andcommitted
补充v3.0.1版本升级信息
1 parent 538d54c commit 3fb35d1

File tree

1 file changed

+102
-5
lines changed

1 file changed

+102
-5
lines changed

docs/install_guide/版本升级手册.md

Lines changed: 102 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,106 @@
44
- 如果想升级至具体版本,需要将你当前版本至你期望使用版本的变更统统执行一遍,然后才能正常使用。
55
- 如果中间某个版本没有升级信息,则表示该版本直接替换安装包即可从前一个版本升级至当前版本。
66

7-
87
### 6.2.0、升级至 `master` 版本
98

9+
暂无
10+
11+
### 6.2.1、升级至 `v3.0.1` 版本
12+
13+
**ES 索引模版**
14+
```bash
15+
# 新增 ks_kafka_zookeeper_metric 索引模版。
16+
# 可通过再次执行 bin/init_es_template.sh 脚本,创建该索引模版。
17+
18+
# 索引模版内容
19+
PUT _template/ks_kafka_zookeeper_metric
20+
{
21+
"order" : 10,
22+
"index_patterns" : [
23+
"ks_kafka_zookeeper_metric*"
24+
],
25+
"settings" : {
26+
"index" : {
27+
"number_of_shards" : "10"
28+
}
29+
},
30+
"mappings" : {
31+
"properties" : {
32+
"routingValue" : {
33+
"type" : "text",
34+
"fields" : {
35+
"keyword" : {
36+
"ignore_above" : 256,
37+
"type" : "keyword"
38+
}
39+
}
40+
},
41+
"clusterPhyId" : {
42+
"type" : "long"
43+
},
44+
"metrics" : {
45+
"properties" : {
46+
"AvgRequestLatency" : {
47+
"type" : "double"
48+
},
49+
"MinRequestLatency" : {
50+
"type" : "double"
51+
},
52+
"MaxRequestLatency" : {
53+
"type" : "double"
54+
},
55+
"OutstandingRequests" : {
56+
"type" : "double"
57+
},
58+
"NodeCount" : {
59+
"type" : "double"
60+
},
61+
"WatchCount" : {
62+
"type" : "double"
63+
},
64+
"NumAliveConnections" : {
65+
"type" : "double"
66+
},
67+
"PacketsReceived" : {
68+
"type" : "double"
69+
},
70+
"PacketsSent" : {
71+
"type" : "double"
72+
},
73+
"EphemeralsCount" : {
74+
"type" : "double"
75+
},
76+
"ApproximateDataSize" : {
77+
"type" : "double"
78+
},
79+
"OpenFileDescriptorCount" : {
80+
"type" : "double"
81+
},
82+
"MaxFileDescriptorCount" : {
83+
"type" : "double"
84+
}
85+
}
86+
},
87+
"key" : {
88+
"type" : "text",
89+
"fields" : {
90+
"keyword" : {
91+
"ignore_above" : 256,
92+
"type" : "keyword"
93+
}
94+
}
95+
},
96+
"timestamp" : {
97+
"format" : "yyyy-MM-dd HH:mm:ss Z||yyyy-MM-dd HH:mm:ss||yyyy-MM-dd HH:mm:ss.SSS Z||yyyy-MM-dd HH:mm:ss.SSS||yyyy-MM-dd HH:mm:ss,SSS||yyyy/MM/dd HH:mm:ss||yyyy-MM-dd HH:mm:ss,SSS Z||yyyy/MM/dd HH:mm:ss,SSS Z||epoch_millis",
98+
"type" : "date"
99+
}
100+
}
101+
},
102+
"aliases" : { }
103+
}
104+
```
105+
106+
10107
**SQL 变更**
11108
12109
```sql
@@ -48,7 +145,7 @@ CREATE TABLE `ks_km_group` (
48145
---
49146
50147
51-
### 6.2.1、升级至 `v3.0.0` 版本
148+
### 6.2.2、升级至 `v3.0.0` 版本
52149
53150
**SQL 变更**
54151
@@ -60,7 +157,7 @@ ADD COLUMN `zk_properties` TEXT NULL COMMENT 'ZK配置' AFTER `jmx_properties`;
60157
---
61158
62159
63-
### 6.2.2、升级至 `v3.0.0-beta.2`版本
160+
### 6.2.3、升级至 `v3.0.0-beta.2`版本
64161
65162
**配置变更**
66163
@@ -131,7 +228,7 @@ ALTER TABLE `logi_security_oplog`
131228
132229
---
133230
134-
### 6.2.3、升级至 `v3.0.0-beta.1`版本
231+
### 6.2.4、升级至 `v3.0.0-beta.1`版本
135232
136233
**SQL 变更**
137234
@@ -150,7 +247,7 @@ ALTER COLUMN `operation_methods` set default '';
150247
151248
---
152249
153-
### 6.2.4`2.x`版本 升级至 `v3.0.0-beta.0`版本
250+
### 6.2.5、`2.x`版本 升级至 `v3.0.0-beta.0`版本
154251
155252
**升级步骤:**
156253

0 commit comments

Comments
 (0)