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

Allow locking on views when clearing cached collection metadata on secondaries

    • 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
    • CAR Team 2024-07-08
    • 200

      We might have stale cached collection metadata locally on shards while already having reused the namespace for something else like a view. When we refresh the cached metadata and try to remove the stale entry, we try to acquire the lock on the namespace on secondaries. We should permit acquiring the lock on the views or the oplog application will fail and fassert.

            Assignee:
            yuhong.zhang@mongodb.com Yuhong Zhang
            Reporter:
            yuhong.zhang@mongodb.com Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: