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

Retryable Write should always register a collection in the sharding catalog

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL

      Currently in case of a insert or update performed within a retryable write, we skip the registration of the collection in the CSRS. 

      The goal of this ticket is

      • remove that barrier and start registering collections.
      • remove the same barrier in the createIndex. Note the retryable writes only propagates the session info if the operation is supported. Since createIndex is unsupported, that check should always return false and no test should break.

      Note that point 1. is known to cause some tests to fail and it won't be as trivial as just removing the check

            Assignee:
            backlog-server-catalog-and-routing [DO NOT USE] Backlog - Catalog and Routing
            Reporter:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: