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

http::_operation() creates unnecessary filter, rescinds unnecessarily

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Accepted
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      This function is used by the /reserve, /unreserve, /create-volumes, and /destroy-volumes endpoints. It has a few worts:

      1. It installs a 5-second filter when rescinding an offer. However, the cluster state might change so that the filter is actually undesirable. For example, this scenario:

      • Create DR, make offer
      • Create PV => rescinds previous offer, sets filter, makes offer
      • Destroy PV => rescinds previous offer
        After the last step, we'll wait 5 seconds for the filter to expire before re-offering the DR.

      2. If there are sufficient available resources at the target slave, we don't actually need to rescind any offers in the first place. However, _operation() rescinds offers unconditionally.

      Attachments

        Activity

          People

            Unassigned Unassigned
            neilc Neil Conway
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: