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

Handle conflict from concurrent createDatabase commands

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2024-08-19, CAR Team 2024-09-02

      It's possible for concurrent createDatabase commands trying to commit to the config server at the same time and receive WCE from the transaction. We will want to retry the create and when querying for existing DB in the next try:

      • Fail if the user explicitly specifies a different primary shard
      • No-op otherwise

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            yuhong.zhang@mongodb.com Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: