CheckMetadataConsistency to not use MONGO_UNREACHABLE

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.10
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • v8.0, v7.0
    • CAR Team 2025-03-03
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, CheckMetadataConsistency relies on MONGO_UNREACHABLE to handle scenarios that should not occur. In the worst-case scenario, we prefer to return a user error rather than crash the node due to an unexpected parameter.

      The objective of this ticket is to replace all instances where MONGO_UNREACHABLE is called with a tassert.

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

              Created:
              Updated:
              Resolved: