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

Simplify CollectionIndexUsageTracker

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution NAMER
    • Fully Compatible
    • Execution NAMR Team 2023-10-02, Execution NAMR Team 2023-10-16

      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.

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

              Created:
              Updated:
              Resolved: