Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-4385

Offers and InverseOffers cannot be accepted in the same ACCEPT call

    XMLWordPrintableJSON

Details

    Description

      Problem

      Here's a regression test:
      https://reviews.apache.org/r/42092/

      Proprosal
      The question is whether we want to allow the mixing of Offers and InverseOffers.

      Arguments for mixing:

      • The design/structure of the maintenance originally intended to overload ACCEPT and DECLINE to take inverse offers.
      • Enforcing non-mixing may require breaking changes to scheduler.proto.

      Arguments against mixing:

      • Some semantics are difficult to explain. What does it mean to supply InverseOffers with Offer::Operations? What about DECLINE with Offers and InverseOffers, including a "reason"?
      • What happens if we presumably add a third type of offer?
      • Does it make sense to TASK_LOST valid normal offers if InverseOffers are invalid?

      Attachments

        Issue Links

          Activity

            People

              kaysoky Joseph Wu
              kaysoky Joseph Wu
              Benjamin Mahler Benjamin Mahler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: