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

The txn::collect utility stops joining on errors

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • ALL
    • 0

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: