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

Checkpoint cleanup does not free fast-truncated trees in 6.0

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.2.0, 6.0.12
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 5
    • StorEng - 2023-08-08

      This issue was discovered in WT-10862, which was investigating the impacts of introducing support to read fast-truncate information in versions 6.0 and below.

      If there is a stable fast-truncated tree in a newer version and we downgrade to the older version 6.0, we may leak disk space as we ignore the page deleted information in version 6.0. Checkpoint cleanup will ignore the fast-deleted pages, leading to a disk space leak.

      We need to ensure that checkpoint cleanup in older versions is correctly handling fast-deleted pages before we start allowing MongoDB to write fast-truncate information.

            monica.ng@mongodb.com Monica Ng
            monica.ng@mongodb.com Monica Ng
            0 Vote for this issue
            4 Start watching this issue