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

Change assert in test_fast_truncate_disk_space.py to use cc_pages_removed statistic

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Checkpoints
    • 3
    • StorEng - Defined Pipeline

      In this test, we are checking the size of the file on disk to determine if checkpoint cleanup is cleaning up the fast-truncated pages and releasing disk space.

      self.assertLess(os.path.getsize("test_fast_truncate"), disk_space_original)
      

      A better way to check this would be to use the cc_pages_removed statistic, once it has been corrected in WT-11419.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            monica.ng@mongodb.com Monica Ng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: