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

Simplify commit function for the new create collection coordinator

    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2023-12-11, CAR Team 2023-12-25

      The current commit function of the create collection is shared between the legacy coordinator and the new coordinator. With the new phases and logic (transactional commit), there is redundant logic that could be simplified only for the new coordinator.

      The goal of this ticket is to separate the legacy commit from the new one, and simplify its logic taking advantage of recent changes and phases.

      Some examples of the work that we can do on the new commit:

      • Remove the fire and forget.
      • Remove try and catch from the transactional commit.
      • Try to force a refresh, if not, clear the filtering metadata without throwing.
      • Investigate the need to throw on the catch clause.

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: