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

Add a term/generation counter/version for the CollectionCatalog

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Storage Execution

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: