Make a MockReplicaSet for unit testing shard split

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Serverless
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently ShardSplit unit tests must use a `donorSet` and `recipientSet` at all times, even before there is a "recipientSet" (before the split). We could add a `MockReplicaSetForSplit` that has a method to add recipientNodes and remove the needs for multiple replica set.

       

      See https://github.com/10gen/mongo/pull/3527/files#r813824489 for more details.

            Assignee:
            [DO NOT USE] Backlog - Server Serverless (Inactive)
            Reporter:
            Didier Nadeau
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: