-
Notifications
You must be signed in to change notification settings - Fork 12
Labels
Description
Introduce configuration primitives and implement logic that will allow users to have fallback logic for routing that enables following scenarios:
- User wants to target particular rack, with fallback to another rack
- Target rack with fallback to dc
- Target dc with fallback to whole cluster
- Target rack with fallback to dc with fallback to cluster
Fallback means two things:
- Configuration validation logic should honor fallbacks, if no nodes reported by current routing scope, it will get nodes from the fallback scope, repeating this proccess untill fallback is nil
- When it known updates nodes from alternator it does the same thing
When it switches to fallback it should throw a log message.
Naming:
RoutingScope: rack, datacenter or cluster