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

Dropping the physical idents shouldn't invalidate the in-memory catalog.

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • 200

      In the BF, we noticed that while preallocating the snapshot for multi-statement transactions during startup recovery as part of reconstructPreparedTransactions(), which is single-threaded, the preallocation might fail and require a retry due to catalog invalidation, even if no other real conflicting threads are present. We found that a concurrent TimestampMonitor thread can drop the physical idents but doesn’t update the on-disk mdb_catalog, which can invalidate the in-memory catalog. I believe dropping physical ident shouldn't invalidate the catalog.

            Assignee:
            Unassigned Unassigned
            Reporter:
            suganthi.mani@mongodb.com Suganthi Mani
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: