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

WT_SESSION.drop checkpoints files that are being removed

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:

      Description

      @michaelcahill, WT_SESSION.drop closes handles and then removes the entry from the metadata, which means we checkpoint files we're subsequently going to remove (at least, we're going to remove the file if the remove_files configuration string is set, and remove_files defaults to true).

      Are there enough temporary files, created and then discarded, that it's worth changing this behavior so we don't checkpoint files that are going away?

      That said, I don't see any obvious/clean change, the __drop_file function is pretty far removed from the WT_BTREE.modified flag.

        Attachments

          Activity

            People

            • Assignee:
              backlog-server-storage-engines Backlog - Storage Engines Team
              Reporter:
              keith.bostic Keith Bostic
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: