We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb6944d commit 894eabdCopy full SHA for 894eabd
engines/ep/src/vbucket.h
@@ -2338,7 +2338,13 @@ class VBucket : public std::enable_shared_from_this<VBucket> {
2338
std::mutex pendingOpLock;
2339
std::vector<const void*> pendingOps;
2340
std::chrono::steady_clock::time_point pendingOpsStart;
2341
- WeaklyMonotonic<uint64_t> purge_seqno;
+
2342
+ /**
2343
+ * Sequence number of the highest purged tombstone.
2344
+ * - Weakly monotonic as this should not go backwards.
2345
+ * - Atomic so it can be read without locks for stats printing.
2346
+ */
2347
+ WeaklyAtomicMonotonic<uint64_t> purge_seqno;
2348
std::atomic<bool> takeover_backed_up;
2349
2350
/* snapshotMutex is used to update/read the pair {start, end} atomically,
0 commit comments