Skip to content

Commit 94e223e

Browse files
authored
CBG-4403: update rev cache size api docs for size stat (#7257)
1 parent 88edb9a commit 94e223e

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
@@ -1301,7 +1301,10 @@ Database:
13011301
type: object
13021302
properties:
13031303
size:
1304-
description: The maximum number of revisions that can be stored in the revision cache.
1304+
description: |-
1305+
The maximum number of revisions that can be stored in the revision cache.
1306+
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
1307+
you may find that the capacity stat (revision_cache_num_items) will climb to the defined rev cache size + 10%.
13051308
type: string
13061309
default: 5000
13071310
max_memory_count_mb:

0 commit comments

Comments
 (0)