summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorSusan LoVerso <sue@wiredtiger.com>2014-08-12 14:03:59 -0400
committerSusan LoVerso <sue@wiredtiger.com>2014-08-12 14:03:59 -0400
commitc4133fd744342a21885f5da8271a54e9f3646f8f (patch)
tree4d4d144c2128abbaf3d19a4ed7dce38b03d07905 /api
parent1ae4eada31a90fef6a7e236a09001186eb6b1f36 (diff)
downloadmongo-c4133fd744342a21885f5da8271a54e9f3646f8f.tar.gz
Comment about fileid assumptions.
Diffstat (limited to 'api')
-rw-r--r--api/leveldb/leveldb_wt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/api/leveldb/leveldb_wt.h b/api/leveldb/leveldb_wt.h
index 4a9252bd8c7..94ad2e01951 100644
--- a/api/leveldb/leveldb_wt.h
+++ b/api/leveldb/leveldb_wt.h
@@ -54,7 +54,9 @@
#define WT_TIMESTAMP_FORMAT "%d.%llu"
// We're also only interested in operations to the user file. Skip over
// any changes to the metadata.
-// XXX - Currently assume metadata fileid is 0.
+// !!! Currently WT guarantees that the metadata file is always at
+// fileid 0 and the implementation here only uses one table. This will
+// breakdown if either of those assumptions changes.
#define WT_VALID_OPERATION(fileid, optype) \
((fileid) != 0 && \
((optype) == WT_LOGOP_COL_PUT || \