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

Set finalResponsePromise before calling continueExhaustRequest in NetworkInterfaceTL

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Service arch 2020-12-28
    • 31

      See comment:3 on BF-19523 for a more detailed description of this problem; there is a small window of time where `continueExhaustRequest` can try to assign a promise to the `finalResponsePromise` before the `finalResponsePromise` has been set to a non-null promise. Move the assignment of `finalResponsePromise` to before the asynchronous call to `continueExhaustRequest`.

            Assignee:
            tyler.seip@mongodb.com Tyler Seip (Inactive)
            Reporter:
            tyler.seip@mongodb.com Tyler Seip (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: