File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -91,9 +91,9 @@ TODO: xx is the version in which semaphore is added. update it when merged.
91
91
| [1.1 . 32 , 1.2 . 63 ) | | ✅ | ❌ | ❌ | ❌ |
92
92
| [1.2 . 63 , 1.2 . 226 ) | | ✅ | ❌ | ❌ | ❌ |
93
93
| [1.2 . 226 , 1.2 . 258 ) | | ✅ | ✅ | ❌ | ❌ |
94
- | [1.2 . 258 , 1.2 . 663 ) | | ✅ | ✅ | ✅ | ✅ |
95
- | [1.2 . 663 , 1.2 . 677 ) | | ❌ | ✅ | ✅ | ✅ |
96
- | [1.2 . 677 , + ∞) | | ❌ | ❌ | ❌ | ✅ |
94
+ | [1.2 . 258 , 1.2 . 663 ) | | ✅ | ✅ | ✅ | ❌ |
95
+ | [1.2 . 663 , 1.2 . 677 ) | | ❌ | ✅ | ✅ | ❌ |
96
+ | [1.2 . 677 , + ∞) | | ❌ | ✅ | ✅ | ✅ |
97
97
98
98
History versions that are not included in the above chart :
99
99
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ echo " === Bring up leader meta service, ver: $leader_meta_ver"
100
100
bring_up_databend_meta " $leader_meta_ver " " 1" --single
101
101
102
102
echo " === Feed data to leader"
103
- ./bins/current /bin/databend-metabench \
103
+ ./bins/$leader_meta_ver /bin/databend-metabench \
104
104
--rpc ' table_copy_file:{"file_cnt":5,"ttl_ms":86400999}' \
105
105
--client 1 \
106
106
--number 100 \
@@ -116,7 +116,7 @@ echo " === Leader status should contains snapshot state"
116
116
curl -qs $( admin_addr 1) /v1/cluster/status
117
117
118
118
echo " === Feed more data to leader"
119
- ./bins/current /bin/databend-metabench \
119
+ ./bins/$leader_meta_ver /bin/databend-metabench \
120
120
--rpc ' table_copy_file:{"file_cnt":5,"ttl_ms":86400999}' \
121
121
--client 1 \
122
122
--number 100 \
Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ run_test() {
125
125
local query_old=" ./bins/$query_old_ver /bin/databend-query"
126
126
local query_new=" ./bins/current/databend-query"
127
127
local metasrv_old=" ./bins/$meta_ver /bin/databend-meta"
128
+ local metasrv_current=" ./bins/current/bin/databend-meta"
128
129
local sqllogictests=" ./bins/current/databend-sqllogictests"
129
130
130
131
@@ -174,19 +175,23 @@ run_test() {
174
175
# run_logictest new_logictest/$query_new_ver fuse_compat_write
175
176
$sqllogictests --handlers mysql --suites " $logictest_path " --run_file fuse_compat_write
176
177
178
+ # Always kill databend-meta and bring up the current version of databend-meta.
179
+ # Because the current version query may not be compatible with the old version databend-meta.
180
+
177
181
kill_proc databend-query
182
+ kill_proc databend-meta
178
183
179
184
if [ " $forward " == ' forward' ]
180
185
then
181
186
echo " === Start old databend-meta and databend-query..."
182
187
log=" query-old.log"
183
- start " " " $query_old " " $old_config_path " $log
188
+ start " $metasrv_current " " $query_old " " $old_config_path " $log
184
189
echo " === Run test: fuse_compat_read with old query"
185
190
else
186
191
echo ' === Start new databend-meta and databend-query...'
187
192
config_path=" scripts/ci/deploy/config/databend-query-node-1.toml"
188
193
log=" query-current.log"
189
- start " " $query_new $config_path $log
194
+ start " $metasrv_current " $query_new $config_path $log
190
195
echo " === Run test: fuse_compat_read with current query"
191
196
fi
192
197
You can’t perform that action at this time.
0 commit comments