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

_internalSearchIdLookup stage violates a 5.0 precondition of the getOwnershipFilter function

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

      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.

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

              Created:
              Updated:
              Resolved: