summaryrefslogtreecommitdiff
path: root/src/docs/lsm.dox
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2013-07-29 12:45:38 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2013-07-29 12:45:38 +1000
commitb2814ef953b4b48b0da388aea00779384b4dce66 (patch)
tree7521c348c2ca72c6340a254895ea6081231f2136 /src/docs/lsm.dox
parent2d476fa23923a8f97f3bf0ac4a8963bb8b4edf2d (diff)
downloadmongo-b2814ef953b4b48b0da388aea00779384b4dce66.tar.gz
Clarify when applications have to keep key/value buffers valid.
Diffstat (limited to 'src/docs/lsm.dox')
-rw-r--r--src/docs/lsm.dox13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/docs/lsm.dox b/src/docs/lsm.dox
index 043ec6b404c..b79f76471bd 100644
--- a/src/docs/lsm.dox
+++ b/src/docs/lsm.dox
@@ -59,16 +59,9 @@ for(;;) {
}
@endcode
-Unlike ordinary file cursors, LSM cursors default to \c overwrite mode, where:
-
-- WT_CURSOR::insert will update existing values without checking;
-- WT_CURSOR::update will insert values regardless of whether they exist; and
-- WT_CURSOR::remove will succeed regardless of whether the specified record
- exists.
-
-This behavior can be disabled by passing \c "overwrite=false" to
-WT_SESSION::open_cursor, but the result will be a search through the levels
-of the LSM tree before every modification.
+If an LSM cursor is configured with \c "overwrite=false" passed to
+WT_SESSION::open_cursor, the result will be a search through the levels of the
+LSM tree before every modification.
@section lsm_merge Merging