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

Discard is not propagated in process::dispatch.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.15.0
    • 0.16.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: