mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-23 06:30:05 +00:00
fix: revert unfinished route table change (#3008)
* Revert "refactor: hide `RegionRoute` behind `TableRouteValue` (#2989)" This reverts commit1641fd572a. * Revert "feat: MetricsEngine table route (part 1) (#2952)" This reverts commit6ac47e939c.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user