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

add support for flushing the transaction log.

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.7.0
    • Labels:
      None

      Description

      A possible fix for SERVER-20176 requires some way to flush the logs explicitly.

      Geert Bosch tried a WT_SESSION.begin_transaction and WT_SESSION.commit_transaction pair, with commit_transaction configuring sync=on, but that won't work unless there are writes included in the transaction.

      Sue LoVerso suggests it might be possible to make that work (and it's not unreasonable since the documentation does imply sync=on flushes all log records. (The documentation says "whether to sync the log on every commit by default", without any discussion of a write being required.)

      Sue LoVerso also suggested WT_SESSION.transaction_sync could be enhanced to provide this functionality, perhaps calling that method without any configuration would flush the log.

      Sue LoVerso, Michael Cahill

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sue.loverso Sue LoVerso
                Reporter:
                keith.bostic Keith Bostic
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: