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

getShardFilterer utility doesn't fulfill some sharding preconditions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.2.0-rc0
    • Query Execution, Sharding
    • None
    • Fully Compatible
    • ALL
    • QO 2022-11-14, Sharding EMEA 2022-10-17

    Description

      The getShardFilterer function calls to getOwnershipFilter function without taking into account that it might invariant if the operation sharding state is not versioned

      In SERVER-70381 we have removed its only usage in 6.2, 6.1, 6.0, so I believe we can safely remove this function. On the other hand, if we decide to fix it, we should check whether the operation is properly versioned.

      Attachments

        Issue Links

          Activity

            People

              nicholas.zolnierz@mongodb.com Nicholas Zolnierz
              sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: