Prior to this changeset, it is difficult for event handlers to know when
the current subscription has terminated. This is important, especially,
for offer processing since all outstanding offers on a terminated
subscription are immediately invalidated by Mesos. This changeset allows
a scheduler to bound the cancelation context to the lifetime of the
current subscription.
Coverage increased (+0.4%) to 57.865% when pulling f77c4e0592c0d113eeef6d51a5d76eb02766b384 on jdef:sched_control_ctx_per_subscription into ff8175bfda54b1eb1f1954c8102a9dc612aa2312 on mesos:master.
Prior to this changeset, it is difficult for event handlers to know when the current subscription has terminated. This is important, especially, for offer processing since all outstanding offers on a terminated subscription are immediately invalidated by Mesos. This changeset allows a scheduler to bound the cancelation context to the lifetime of the current subscription.