Refactor the logic to validate the collation parameter of shardCollection()

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Sharding EMEA 2022-08-22, Sharding EMEA 2022-10-17, Sharding EMEA 2022-10-31, Sharding EMEA 2022-11-14, Sharding EMEA 2022-11-28, Sharding EMEA 2022-12-12, Sharding EMEA 2022-12-26, Sharding EMEA 2023-01-09, Sharding EMEA 2023-01-23
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      CreateCollectionCoordinator (the entity orchestrating the execution of a user db.shardCollectionRequest()) is defining a function to process the collation option of a request: the validation and application rules are not trivial and they cannot be easily deduced from the existing logic.

      This ticket aims to refactor the current code to make such rules explicit.

            Assignee:
            Paolo Polato
            Reporter:
            Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: