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

Allocations can occurr between the multiple resource changes related to orphan operations.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.0
    • Fix Version/s: None
    • Component/s: allocation, master
    • Labels:
    • Target Version/s:

      Description

      Master::updateSlave() was recently updated to handle orphan operations. The new code doesn't pause the allocator before doing multiple dispatches to the allocator.

      This means that an allocation can be interleaved while the allocator is still not fully updated or in an inconsistent state.

      I tried just to quickly improve the handler by adding a couple of allocator->pause() and allocator->resume() calls, but that made quite some SLRP tests get stuck and time out waiting for offers.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gkleiman Gastón Kleiman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: