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

Libprocess delays / defers may run on a Process with re-used PID.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Accepted
    • Major
    • Resolution: Unresolved
    • None
    • None
    • libprocess

    Description

      Currently, when a libprocess actor calls delay, the target PID is passed to ProcessManager::deliver, which looks up the target with use(). This means that the process is looked up using its process ID, rather than using a unique process reference.

      This means that when running a test in repetition, it's possible that delays executed by a particular actor can be unexpectedly dispatched to an actor with the same process ID in subsequent iterations of the test. This can be an issue when actors are initialized explicitly with a particular PID.

      We could instead capture a ProcessReference when the delay is initially called, and dispatch to the unique reference.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              greggomann Greg Mann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: