Skip to content

Commit d8f1f22

Browse files
gregns1bbrks
authored andcommitted
CBG-4404: [3.2.3 backport] update rev cache size api docs for size stat (#7260)
1 parent 09e9bb5 commit d8f1f22

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/api/components/schemas.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,10 @@ Database:
13041304
type: object
13051305
properties:
13061306
size:
1307-
description: The maximum number of revisions that can be stored in the revision cache.
1307+
description: |-
1308+
The maximum number of revisions that can be stored in the revision cache.
1309+
Note when running with greater than 1 shard count we add 10% capacity overall to avoid early eviction when some shards fill up before others, so
1310+
you may find that the capacity stat (revision_cache_num_items) will climb to the defined rev cache size + 10%.
13081311
type: string
13091312
default: 5000
13101313
max_memory_count_mb:

0 commit comments

Comments
 (0)