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

Fix Race in index_operations_abort_concurrent_outgoing_migrations.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • Affects Version/s: 6.0.16, 7.0.12, 5.0.28, 7.3.4, 8.0.0-rc9
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0, v7.3, v7.0, v6.0, v5.0
    • CAR Team 2024-06-24
    • 200
    • 2

      When featureFlagShardKeyIndexOptionalHashedSharding is enabled, index_operations_abort_concurrent_outgoing_migrations.js will drop the shard key index and verify it both aborts the chunk migration and that the index is dropped on both shards.

      However, it is possible that the recipient will recreate the index before it is dropped on the donor, thus allowing it to persist even after chunk migration is aborted. This will cause the associated assertion to fail in the test.

            Assignee:
            josef.ahmad@mongodb.com Josef Ahmad
            Reporter:
            brett.nawrocki@mongodb.com Brett Nawrocki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: