Check the table route type before calling physical_table_route
#3016
Labels
good first issue
Good for newcomers
physical_table_route
#3016
What type of enhancement is this?
Tech debt reduction
What does the enhancement do?
greptimedb/src/common/meta/src/key/table_route.rs
Lines 65 to 103 in feec4e2
We should add
panic
notes before methods that the inside invoke thephysical_table_route
. And add a check before we invoke these methods(e.g.,matches!(table, TableRouteValue::pshyical(_))
).Implementation challenges
No response
The text was updated successfully, but these errors were encountered: