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

Discard is not propagated in process::dispatch.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.15.0
    • Fix Version/s: 0.16.0
    • Component/s: None
    • Labels:
      None

      Description

      We would expect these two operations to behave the same:

      Future<T> f = p->foo();
      f.discard(); // Discards the future returned by foo().

      Future<T> f = dispatch(p, P::foo);
      f.discard(); // Currently, this will not discard the future returned by
      // foo(), only discards the dispatch promise's future.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jieyu Jie Yu
                Reporter:
                jieyu Jie Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: