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

change_streams_update_lookup_shard_metadata_missing.js should handle the node the change stream cursor was established on going through rollback

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4, v4.2, v4.0
    • Sprint:
      Query 2020-06-01
    • Linked BF Score:
      16

      Description

      The test establishes a change stream cursor, which establishes the cursor on all shard primaries. The test then causes a failover on one of the shards, then asserts that it is able to continue using the cursor.

      If the old shard primary goes through rollback as part of the failover (which happens nondeterministically since the test turns on the periodic noop writer on shards), all databases on that node will be closed and re-opened, which invalidates the change stream cursor and causes the test to fail when getMore is called on the cursor.

        Attachments

          Activity

            People

            Assignee:
            bernard.gorman Bernard Gorman
            Reporter:
            esha.maharishi Esha Maharishi
            Participants:
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: