spqr
spqr copied to clipboard
Default shard
It would be cool to have an ability to specify a default shard for the router. If the router receives a transaction that it can route, but for which it cannot find a suitable key range, then:
- If a default shard exists, route the query to the default shard.
- If there is no default shard, error "can't find suitable key range".