mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-27 02:10:38 +00:00
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:
@@ -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((
|
||||
|
||||
Reference in New Issue
Block a user