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

Update the current cursor value without a search

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

      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)?

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

              Created:
              Updated:
              Resolved: