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

Create a failpoint to randomize the selection of the dataShard in the create collection coordinator

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2024-02-19

      SERVER-79783 is introducing a passthrough suite that implicitly creates accessed collections on a random data shard. This is using the test command to create an unsplittable collection.

      Once the creation paths for at least standard collections are going through the create collection coordinator by default, this suite can be changed to simply enable a failpoint to randomize the decision of the data shard.

      This ticket is to add in the failpoint to randomize the dataShard decision and to update the passthrough suite to enable the failpoint rather than using a runCommand override.

            Assignee:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Reporter:
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: