Avoid unnecessary shared lock acquisition on timeseries in checkMetadataConsistency

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0, 8.2.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • v8.2, v8.0
    • CAR Team 2025-10-27, CAR Team 2025-11-10
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-90889 introduced an unnecessary shared lock acquisition on the timeseries namespace to check whether the view is present an well formed.

      Since the checkMetadataConsistency command already holds a collection catalog snapshot, that can be used to lookup the view (or collection).

            Assignee:
            Pierlauro Sciarelli
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: