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

Simplify CollectionIndexUsageTracker

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • None
    • Storage Execution NAMER
    • Fully Compatible
    • Execution NAMR Team 2023-10-02, Execution NAMR Team 2023-10-16

    Description

      The CollectionIndexUsageTracker is using the shared decorations on Collection instances while implementing its own versioning mechanism. This leads to overly complicated code and a less robust versioning system that needs to rely on rollback handlers and handling inconsistent state.

      We should be able to piggyback on the existing Collection versioning system to simplify this class and index add/removal by getting rid of unnecessary rollback handlers.

      Attachments

        Activity

          People

            henrik.edin@mongodb.com Henrik Edin
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: