-
Type:
Task
-
Status: Resolved
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: master, replicated log
-
Labels:
-
Target Version/s:
-
Epic Link:
-
Story Points:5
This is primarily a refactoring.
The prototype for modifying the registry is currently:
Try<bool> operator () (
Registry* registry,
hashset<SlaveID>* slaveIDs,
bool strict);
In order to support Maintenance schedules (possibly Quotas as well), there should be an alternate prototype for Maintenance. Something like:
Try<bool> operation () ( Maintenance* maintenance, bool strict);
The existing RegistrarProcess::update (src/master/registrar.cpp) should be refactored to allow for more than one key. If necessary, refactor existing operations defined in src/master/master.hpp (AdminSlave, ReadminSlave, RemoveSlave).
- blocks
-
MESOS-3069 Registry operations do not exist for manipulating maintanence schedules
-
- Resolved
-
- Is contained by
-
MESOS-2075 Add maintenance information to the replicated registry.
-
- Resolved
-
- is related to
-
MESOS-1791 Introduce Master / Offer Resource Reservations aka Quota.
-
- Resolved
-
-
MESOS-1155 Improve the performance of Registrar
-
- Resolved
-
- relates to
-
MESOS-3165 Persist and recover quota to/from Registry
-
- Resolved
-