You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* CBG-4023: Removal unmarshalled body on the rev cache (#7030)
* CBG-4135: new stat for rev cache capacity (#7049)
* CBG-4135: new stat for rev cache capacity
* updated based on review
* fix linter
* lint again
* CBG-4032: memory based rev cache implementation (#7040)
* CBG-4032: memory based rev cache implementation
* make test pass with default collection + missing return param
* more issues with default collection test
* touch ups on comment + remove unused function
* updated for review
* further tidy up
* lint fix after refector test
* fixes from rebase
* updates based off review + some more refactoring
* CBG-4134: link rev cache memory limit config option to rev cache (#7084)
* CBG-4134: link rev cache memory limit config option to rev cache
* failing tests
* address commnets
* fix yaml lint
* fix failing test + mistake in docs
Signed-off-by: Gregory Newman-Smith <gregory.newmansmith@couchbase.com>
---------
Signed-off-by: Gregory Newman-Smith <gregory.newmansmith@couchbase.com>
* CBG-4234: clean up rev cache work (#7113)
* CBG-4234: clean up rev cache work
* new test
* CBG-4277: Remove unused totalBytesForHistory from getHistory (#7137)
---------
Signed-off-by: Gregory Newman-Smith <gregory.newmansmith@couchbase.com>
Co-authored-by: Gregory Newman-Smith <109068393+gregns1@users.noreply.github.com>
Copy file name to clipboardExpand all lines: base/stats_descriptions.go
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -126,6 +126,8 @@ const (
126
126
127
127
PendingSeqLengthDesc="The total number of pending sequences. These are out-of-sequence entries waiting to be cached."
128
128
129
+
RevCacheNumItemsDesc="The total number of items in the revision cache."
130
+
129
131
RevCacheBypassDesc="The total number of revision cache bypass operations performed."
130
132
131
133
RevCacheHitsDesc="The total number of revision cache hits. This metric can be used to calculate the ratio of revision cache hits: "+
@@ -134,6 +136,8 @@ const (
134
136
RevCacheMissesDesc="The total number of revision cache misses. This metric can be used to calculate the ratio of revision cache misses: "+
135
137
"Rev Cache Miss Ratio = rev_cache_misses / (rev_cache_hits + rev_cache_misses)"
136
138
139
+
RevCacheMemoryDesc="The approximation of total memory taken up by rev cache for documents. This is measured by the raw document body, the channels allocated to a document and its revision history."
140
+
137
141
SkippedSeqLengthDesc="The current length of the pending skipped sequence slice."
138
142
139
143
SkippedSeqCapDesc="The current capacity of the skipped sequence slice."
0 commit comments