Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-13396

Review eviction logging categories

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Cache and Eviction, Logging
    • None
    • Storage Engines
    • 5
    • StorEng - 2024-09-03

      Eviction verbose logging category analysis:

      A detailed analysis of eviction-related logging messages has revealed three distinct categories:

      • WT_VERB_EVICT: Used in multiple scenarios, including long eviction times, individual page evictions, and page marking for reconciliation.
      • WT_VERB_EVICT_STUCK: Currently unused within the WiredTiger codebase.
      • WT_VERB_EVICTSERVER: Used in multiple instances.

      Proposed Simplification:

      To streamline the eviction logging and enhance readability, I recommend consolidating all eviction-related messages under a single category, WT_VERB_EVICT. This unified approach will reduce complexity and improve maintainability.

      Next Steps:

      Review the code using all three categories and consolidate it under one category, WT_VERB_EVICTION.

      By following these steps, we can effectively simplify the eviction verbose messaging system and improve code clarity.

            Assignee:
            ravi.giri@mongodb.com Ravi Giri
            Reporter:
            ravi.giri@mongodb.com Ravi Giri
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: