Create collection coordinator assume that getAllShardIds is sorted

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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When we received a ShardNotFound at the create collection coordinator, we compare the shards from the shard registry from the ones persisted on the recoverable document. We use `binary_search` to do it. The `binary_search` algorithm assumes that the vector passed is sorted, not the case for `getAllShardIds` from the shard registry.

      The goal of this ticket is to fix this behaviour.

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

              Created:
              Updated:
              Resolved: