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

Improve the fairness between migrations of sharded and unsharded collections when the random migration failpoint is enabled

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • v8.0
    • CAR Team 2024-03-18

      Random migration on unsharded collections (insde a failpoint) always picks migrations before sharding policy.
      Additionally, a shard that picks one migration cannot do more migrations. So, for tests with two shards it is common that the unsharded policy dominates the sharded one, and may produce starvation of sharded migrations.

      The puropuse of this ticket is to introduce a simple mechanism for testing that allows both types of migrations.

            Assignee:
            Unassigned Unassigned
            Reporter:
            david.dominguez@mongodb.com David Dominguez Sal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: