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

Fix bug dropping tiered objects

      Summary

      When dropping tiered tables, we only want to drop the local content. The dropping of the shared objects will happen during garbage collection. That means that a drop will remove the local writable object and all metadata referencing the table including the metadata for objects that will still exist on the shared storage.

      Current implementation removes entries from the metadata but wtobj files remain on disk. "test_tiered07.py" has a reproducer. You'll need to uncomment code under FIXME comment.

      Acceptance criteria

      When we call WT_SESSION.drop with "remove_files=true" local wtobj files should be removed.

      FIXME comment in "test_tiered07.py" should be removed once the issue is fixed.

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            alexey.anisimov@mongodb.com Alexey Anisimov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: