Merge remote-tracking branch 'couchbase/3.0.x' into sherlock
[ep-engine.git] / src / vbucket.h
index 847eb93..fb685d6 100644 (file)
@@ -511,6 +511,8 @@ private:
     Mutex pendingBGFetchesLock;
     vb_bgfetch_queue_t pendingBGFetches;
 
+    /* snapshotMutex is used to update/read the pair {start, end} atomically,
+       but not if reading a single field. */
     Mutex snapshotMutex;
     uint64_t persisted_snapshot_start;
     uint64_t persisted_snapshot_end;