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

Checkpoint cleanup should not mark a dirty page as obsolete

    • 3
    • Storage Engines - 2022-06-27, Storage Engines - 2022-07-11
    • v6.0, v5.0

      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: