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

flush_tier should only flush tables that need to be flushed

    XMLWordPrintable

    Details

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

      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

          Activity

            People

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

              Dates

              Created:
              Updated: