Skip to content

Commit

Permalink
CBG-4403: update rev cache size api docs for size stat
Browse files Browse the repository at this point in the history
  • Loading branch information
gregns1 committed Jan 3, 2025
1 parent 88edb9a commit c595fbb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/api/components/schemas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1301,7 +1301,10 @@ Database:
type: object
properties:
size:
description: The maximum number of revisions that can be stored in the revision cache.
description: |-
The maximum number of revisions that can be stored in the revision cache.

Check failure on line 1305 in docs/api/components/schemas.yaml

View workflow job for this annotation

GitHub Actions / yamllint

1305:90 [trailing-spaces] trailing spaces

Check failure on line 1305 in docs/api/components/schemas.yaml

View workflow job for this annotation

GitHub Actions / yamllint

1305:90 [trailing-spaces] trailing spaces
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,

Check failure on line 1306 in docs/api/components/schemas.yaml

View workflow job for this annotation

GitHub Actions / yamllint

1306:158 [trailing-spaces] trailing spaces

Check failure on line 1306 in docs/api/components/schemas.yaml

View workflow job for this annotation

GitHub Actions / yamllint

1306:158 [trailing-spaces] trailing spaces
so you may find that the capacity stat (revision_cache_num_items) will climb to the defined rev cache size + 10%.
type: string
default: 5000
max_memory_count_mb:
Expand Down

0 comments on commit c595fbb

Please sign in to comment.