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

Investigate usages of MONGO_UNREACHABLE in CAR codebase ownership

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • CAR Team 2025-03-17, CAR Team 2025-03-31, CAR Team 2025-04-14
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We have recently discovered a workload that hit a MONGO_UNREACHABLE because it was used in instances where the intention was to control unexpected parameters for internal code usage, and we broke that.

      Although we have control over how internal code should be used, relying on invariants (MONGO_UNREACHABLE) may not be safe for future usages or unexpected behaviours. Instead, we should consider using `tassert` to prevent potential availability issues in production environments in the worst-case scenario.

      The goal of this ticket is to investigate all MONGO_UNREACHABLE usages in the CAR codebase. We should analyze whether we should replace it with `tassert` or if it is appropriate to leave the code as it is.

            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:
              None
              None
              None
              None