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

Add a term/generation counter/version for the CollectionCatalog

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution

      Currently, we use pointer values to check whether the CollectionCatalog has been updated when trying to acquire a consistent catalog and snapshot. This is fine most of the time but it's technically possible that the memory address could be reused for the new version of the catalog, so the pointer values could be the same even if the catalog has actually been updated. We should consider adding a counter/catalog version that gets updated whenever a new version of the catalog is created, so that we can reliably compare two versions of the catalog.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: