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

Checkpoint cleanup should not mark a dirty page as obsolete

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0, WT11.1.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 3
    • Storage Engines - 2022-06-27, Storage Engines - 2022-07-11

      Checkpoint cleanup doesn't check for the page modified information before deciding whether the page is obsolete or not. The reconciliation results get stale once the page is modified.

      Treating these pages as obsolete and marking them for urgent eviction leads to unnecessary page eviction that is not required. To avoid unnecessary page eviction checkpoint cleanup check for the page modified flag before verifying the obsoleteness based on the reconciliation results.

      The suggested solution doesn't fix the race condition of page modification with checkpoint cleanup marking the page for urgent eviction. This situation is rare, even if it occurred it doesn't cause any problems other than page eviction.

            Assignee:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Reporter:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: