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

change mixed-mode to a per-transaction basis

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.0.0, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Storage - Ra 2022-05-30

      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.

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

              Created:
              Updated:
              Resolved: