aboutsummaryrefslogtreecommitdiff
path: root/src/leveldb/db/memtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/leveldb/db/memtable.h')
-rw-r--r--src/leveldb/db/memtable.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/leveldb/db/memtable.h b/src/leveldb/db/memtable.h
index 92e90bb099..9f41567cde 100644
--- a/src/leveldb/db/memtable.h
+++ b/src/leveldb/db/memtable.h
@@ -36,10 +36,7 @@ class MemTable {
}
// Returns an estimate of the number of bytes of data in use by this
- // data structure.
- //
- // REQUIRES: external synchronization to prevent simultaneous
- // operations on the same MemTable.
+ // data structure. It is safe to call when MemTable is being modified.
size_t ApproximateMemoryUsage();
// Return an iterator that yields the contents of the memtable.