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

Race condition in change_stream_update_lookup_read_concern.js

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.4
    • Component/s: Querying
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Query 2018-10-08
    • Linked BF Score:
      10

      Description

      As part of this test we have 3 nodes in a replica set, and we change the "tags" on two of them. See here.

      After switching the tags, we wait for node 2 to acknowledge its new tag, here. We then run some node "targeting" tests, which assume that node 2 is the only node with the closestSecondary tag. However, node 1 may still have this tag, as we haven't waited for it to acknowledge its new tag, fartherSecondary.

        Attachments

          Activity

            People

            Assignee:
            ian.boros Ian Boros
            Reporter:
            ian.boros Ian Boros
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: