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

Return ENOTSUP when compacting the local file of a tiered table

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.2.0, 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • TheMoon-StorEng - 2023-09-19

      WT_SESSION::compact() allows you to compact a file: object. This leads to a segfault if you try to compact the local file of a tiered table, which has a name of the form, file:*.wtobj.

      We don't expect compact to work on the tiered tables. So we should fix this by detecting it a returning ENOTSUP.

      You can reproduce this issue by creating a tiered table and running wt compact on the file:*wtobj entry for the local file. For example run the tiered08 python test with the --perserve option. Use wt list to find the file with the file:*wtojb name. Then run wt compact with that target.

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            keith.smith@mongodb.com Keith Smith
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: