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

_internalSearchIdLookup stage violates a 5.0 precondition of the getOwnershipFilter function

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • v6.1, v6.0, v5.0
    • Sharding EMEA 2022-10-17, Sharding EMEA 2022-10-31

    Description

      The Sharding getOwnershipFilter 5.0 API requires the OperationShardingState to be versioned, otherwise it invariants. SERVER-52764 is the ticket that added back the invariant and in its description we were aware that we had to fix a usage in _internalSearchIdLookup stage, however we never did it (probably we thought that everything was fine because in a 5.0 deployment by default we didn't hit that invariant?).

      In order to hit the invariant you have to set the read concern as available.

      Attachments

        Issue Links

          Activity

            People

              sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
              sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
              Votes:
              0 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: