feat: able to set read preference to flownode (#6696)

fix: correctly compare the opened follower regions in startup

Signed-off-by: luofucong <luofc@foxmail.com>
This commit is contained in:
LFC
2025-08-08 17:08:09 +08:00
committed by GitHub
parent 3a2f5413e0
commit 253d89b5cc
9 changed files with 20 additions and 2 deletions

View File

@@ -705,6 +705,7 @@ async fn open_all_regions(
follower_regions.len()
);
let mut region_requests = Vec::with_capacity(follower_regions.len());
let num_regions = follower_regions.len();
for (region_id, engine, store_path, options) in follower_regions {
let table_dir = table_dir(&store_path, region_id.table_id());
region_requests.push((