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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.8.0
    • None
    • allocation, master

    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

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

            Dates

              Created:
              Updated: