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

API to asynchronously sync a transaction

    Details

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

      Description

      Mathias Stearn asks:
      Currently, we implement our "j:true" write concern by passing "sync=true" to begin_transaction(), which causes commit_transaction() to block until durable. Unfortunately, this doesn't allow us to do anything else on that thread while we wait. In particular, when a user specifies both "w:majority" and "j:true" it would be nice to be able to wait for both replication and journaling at the same time.


      This is a reasonable request and I'll look into an API that implements this. Although not directly related it is in the same ballpark as WT-1754.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: