chore: "fix: revert unfinished route table change" (#3009)

Revert "fix: revert unfinished route table change (#3008)"

This reverts commit 8ce8a8f3c7.
This commit is contained in:
LFC
2023-12-27 10:40:59 +08:00
committed by GitHub
parent 7c5c75568d
commit eadde72973
34 changed files with 1039 additions and 877 deletions

View File

@@ -521,7 +521,7 @@ CREATE TABLE {table_name} (
.unwrap()
.into_inner();
let region_to_dn_map = region_distribution(&table_route_value.region_routes)
let region_to_dn_map = region_distribution(table_route_value.region_routes())
.unwrap()
.iter()
.map(|(k, v)| (v[0], *k))