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

Insert records directly into history store without a txn

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT10.0.0, 4.4.0-rc0, 4.7.0
    • None
    • None
    • 8
    • Storage Engines 2020-02-10

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: