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

Fix usage of preMigrationShardVersion field on range deletion tests

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: 8.1.0-rc3
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2025-04-28
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The updates_to_rangedeletions_collection_trigger_range_deletions.js test is directly inserts documents into the config.rangeDeletions collection to reproduce a range deletion task.

      The preMigrationShardVersion field is set to the current shardVersion of the collection, which means that a query may fail with QueryPlanKilled if the range deletion is run during the query's execution.

            Assignee:
            igor.praznik@mongodb.com Igor Praznik
            Reporter:
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: