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

change mixed-mode to a per-transaction basis

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT11.0.0, 6.1.0-rc0
    • None
    • Storage - Ra 2022-05-30

    Description

      The weakness of mixed-mode is that it opens the door to forgetting to set a timestamp and creating a data-consistency problem where a reader won’t see correct data. If mixed-mode were limited to specific transactions, it greatly diminishes the chance of that happening in a random code path. We should add a flag to the transaction_begin API that allows a commit timestamp of 0. The write_timestamp_usage configuration basically goes away because there are 2 settings, ordered and never, and if you use timestamps, you’re doing ordered.

      Attachments

        Issue Links

          Activity

            People

              keith.bostic@mongodb.com Keith Bostic (Inactive)
              keith.bostic@mongodb.com Keith Bostic (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: