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

Update the current cursor value without a search

    XMLWordPrintableJSON

Details

    • Storage 2017-03-27, Storage 2017-04-17

    Description

      There's no way to overwrite the value currently associated with a cursor, that is, we always search the tree on a cursor->update, which means a read-modify-write cycle searches the tree twice instead of once.

      The cursor has all the information necessary to just do an update, we'd just need an interface that does an overwrite instead of a search + overwrite.

      (Or some way to know the cursor key's value hasn't changed between the cursor->search and subsequent cursor->overwrite)?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: