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

splitVector should not target using UNSHARDED version

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Catalog and Routing
    • ALL
    • CAR Team 2024-01-22, CAR Team 2024-02-05, CAR Team 2024-02-19

    Description

      The command {splitVector ..} currently still targets the primary shard using UNSHARDED  version. This was ok before because the command is supposed to run only on unsharded collection. For the same reason, the command should now run against the unsplittable collection.

      The goal of this ticket is to:

      • update the unsharded version with the correct shard version if the feature flag is enabled 
      • Remove this  check and replace it with a proper router loop ( always check the collection is still unsplittable at every attempt)
      • Refresh in case of input sharded nss and remove this assertion : After the introduction of the {unshardCollection .. } command, the information might be stale on the router. 

       

       

      Attachments

        Activity

          People

            enrico.golfieri@mongodb.com Enrico Golfieri
            enrico.golfieri@mongodb.com Enrico Golfieri
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: