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

flush_tier should only flush tables that need to be flushed

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT10.0.1, 5.2.0
    • None

    Description

      Currently flush_tier iterates through all tiered: tables in the metadata and attempts to flush each of them.  This is extra work for tables that haven't changed since the previous call to flush_tier

      We should implement something (similar to checkpoint) that only flushes tables that need to be flushed.  Note that a table that needs to be flushed might not have any dirty data in the cache and may not have an open dhandle. I.e., we might have checkpoints and closed the table since the last flush, but the data from that checkpoint still needs to be flushed.

      Attachments

        Issue Links

          Activity

            People

              sue.loverso@mongodb.com Susan LoVerso
              keith.smith@mongodb.com Keith Smith
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: