Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
When there are a large number of slaves and a large number of frameworks, allocation performance suffers as the list of refused filters grows. Once a framework hits its target, it ends up having to refused offers all the time. It is more effective to simply request that it no longer receive offers.
The QuiesceOffers message requests that the framework no longer receive offers. It has similar semantics to declining an offer. The quiescence is persisted across framework failures, and can be lifted using ReviveOffers. The proposed protobuf signature for this is:
diff --git a/src/messages/messages.proto b/src/messages/messages.proto
index 165a16d..1b4475a 100644
--- a/src/messages/messages.proto
+++ b/src/messages/messages.proto
@@ -188,6 +188,10 @@ message ReviveOffersMessage {
required FrameworkID framework_id = 1;
}
+message QuiesceOffersMessage {
+ required FrameworkID framework_id = 1;
+ optional double quiesce_seconds = 2;
+}
If quiesce_seconds is not specified, the quiescence is indefinite (ie. applied until the next ReviveOffers).
Attachments
Attachments
Issue Links
- is duplicated by
-
MESOS-3037 Add a SUPPRESS call to the scheduler
- Resolved