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

Avoid invalidating the catalog cache with a timestamp of a different namespace

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc11
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0, v7.3, v7.0, v6.0, v5.0
    • CAR Team 2024-06-10, CAR Team 2024-06-24
    • 0

      This logic assumes that, if a command receives a stale error of a namespace different from that of the issued command, then it has to be a timeseries collection. This logic then invalidates the entry in the catalog cache for _nss with the information of a different namespace. If this assumption is incorrect, possibly due to an inconsistency caused by a different bug (see SERVER-82085) then this could lead to a time monotonicity violation when refreshing the cache.

            Assignee:
            aitor.esteve@mongodb.com Aitor Esteve Alvarado
            Reporter:
            aitor.esteve@mongodb.com Aitor Esteve Alvarado
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: