Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-39049

The txn::collect utility stops joining on errors

    • Type: Icon: Bug Bug
    • Resolution: Incomplete
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • ALL
    • 0

      The txn::collect Futures utility will stop joining the sub-tasks after it gets an error. Because of this, it doesn't ensure that all asynchronous activities have completed upon return.

      Since it is only used by the transaction coordinator we should make it just fit this case instead of trying to make it a more generic utility.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: