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

Create a special "no sender" PID.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reviewable
    • Major
    • Resolution: Unresolved
    • None
    • None
    • libprocess
    • None

    Description

      In libprocess we have this "fire and forget" messaging semantics with process::post (e.g., MESOS-7753 and a few places in tests).

      Right now these kind of messages use an empty sender PID, i.e., @0.0.0.0:0 which is could fail some checks like MESOS-7401.

      At a high level I think

      • It's OK if libprocess messages don't have a sender actor, akin to the no-sender concept in Akka.
      • However all remote messages should have a valid source address i.e., ip and port in its Libprocess-From.

      So we can create a special no-sender ID and just make sure real actors can't use this ID. The ID could __no_sender__ or simply _? The UPID would then look like _@192.168.1.2:5050.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              xujyan Yan Xu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: