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

Make a MockReplicaSet for unit testing shard split

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Serverless

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-serverless [DO NOT USE] Backlog - Server Serverless (Inactive)
            didier.nadeau@mongodb.com Didier Nadeau
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: