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

Be able to exclude tables from background compaction

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.2.0, 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: Compaction
    • None
    • 5
    • Joker - StorEng - 2023-10-17

      We want to be able to exclude tables from background compaction.

      This ticket should:

      • Create a new configuration parameter "exclude" that takes a list of tables to exclude.
      • Implement the code to update that list when background compaction is enabled.
      • Update the code that decides whether background compaction should skip a table by using the new list.
      • Add relevant stats if necessary.
      • Create tests.

      Example of valid configuration:

              config = 'background=true,exclude=["table:a.wt","table:b.wt"]'

      Note that only the prefix "table" should be used.

      The existing backup_restore_target could be reused as an example which has already been implemented.

            etienne.petrel@mongodb.com Etienne Petrel
            etienne.petrel@mongodb.com Etienne Petrel
            0 Vote for this issue
            1 Start watching this issue