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

Change WT_STORAGE_SOURCE.flush API and add flush_finish

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.1, 4.4.7, 5.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None

      After discussion with sue.loverso and keith.smith, we have adjusted our model for the interaction between WT and the storage source module. The WT_STORAGE_SOURCE will no longer need to track what files to flush to the cloud - the flush API should be adjusted to copy a single file to the cloud.  Also in the WT_STORAGE_SOURCE API (and hence in the local_source implementation), we'll want some sort of "migrate" or "move_to_cache" method that takes a WT file that was used in a flush API and moves it into the cache.  This will avoid the reopening the file in the block manager.

       

            Assignee:
            donald.anderson@mongodb.com Donald Anderson
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: