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

XMLWordPrintableJSON

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

      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
            Reporter:
            David Dominguez Sal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: