Recreate create collection coordinator result with catalog cache refresh

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • CAR Team 2023-11-27
    • 160
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In case of failure after the `commitOnShardingCatlog` at the create collection coordinator, the `_result` will not be set. We need to recreate it, so once the future is completed, the shardsvr command can retrieve correctly the response.

      This `_result` is a `CreateCollectionResponse` composed of a collection version. It is not okay to call the catalog cache and get the collection version from the routing info, as it may not have the collection entry - resulting in unsharded.

      The goal of this ticket is to make this call with refresh to see the most recent collection version after sharding the collection.

              Assignee:
              Pol Pinol
              Reporter:
              Pol Pinol
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: