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

Check if foreground compaction has been interrupted when taking checkpoints

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.2.0, 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: Compaction
    • None
    • 3
    • ASeasonTooMany-2023-08-22

      WT-9636 added an event handler for compaction to be interrupted on demand. The check has been added in the __wt_compact after the check for the timeout __wt_session_compact_check_timeout.

      The timeout check is also present before taking a checkpoint (3 are taken during compaction) in __compact_checkpoint. We should check if compaction has been interrupted here as well as checkpoints may take a lot of time.

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: