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

Compaction can't run at the same time as checkpoint.

    • Type: Icon: Task Task
    • Resolution: Done
    • WT1.5.0
    • Affects Version/s: None
    • Component/s: None
    • None

      Michael here's two minor fixes to compaction.

      First, I don't believe there's anything that would stop a checkpoint from reconciling a page at the same time compaction is reading the reconciliation information for the page, and that's going to lead to a core dump. Maybe I'm missing something, though.

      Second, compaction should visit all of the pages in the cache, both leaf and internal.

      I also updated the statistics to count compaction, and test/format now calls compaction once per thread.

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: