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

Ensure evict_aggressive_score stays within bounds

    • Storage Engines
    • 3
    • 2024-01-09 - I Grew Tired

      This ticket started with the following idea:

      • In several places, evict_aggressive_score is compared to 100 which should be WT_EVICT_SCORE_MAX.

      As I was making changes to the code, I added assertions that showed that the aggressive score variable was overflowing in the cpp cache_resize test. I am re-purposing this ticket to address this issue on top of removing the hardcoded values.

        1. cache_resize.png
          85 kB
          Etienne Petrel

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: