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

Insert records directly into history store without a txn

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.4.0-rc0, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 8
    • Storage Engines 2020-02-10

      With the current plan, if we make updates to history store, the updates are done as part of the application transaction (which means we need one of this txns open in the first place). For this plan to work, we need to put a hack into the commit/rollback code to always treat history store updates as committed.

      It will be effective to find alternatives to the above mechanism for two reasons:

      • We won't have to do the mentioned hack and treat history store updates special
      • We wont have to open a transaction if application txn is not available. We do not want to open a txn just to make history store updates because history store updates do not follow regular transaction semantics also this might interfere with implicit auto transactions that an application might end up opening.

            Assignee:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Reporter:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: