Introduce a new class for maintaining DSS/CSS caches

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • CAR Team 2025-04-14, CAR Team 2025-04-28, CAR Team 2025-05-12
    • 2
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This ticket proposes the encapsulation of the existing logic related to the 'c' oplog entry (onDatabaseMetadataUpdate), managing rollbacks and restarts (onConsistentDataAvailable), and managing the critical section into a new class dedicated to maintaining those caches and critical section.

      The proposed methods for this class include:

      • OnInitialDataAvailable
      • OnCriticalSectionStart
      • OnCOplogEntry
      • OnCriticalSectionEnd

      By implementing these methods, we can unit test the class to ensure that the designed model is functioning correctly and that there are no gaps in its implementation.

              Assignee:
              Pol Pinol
              Reporter:
              Pol Pinol
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: