diff options
author | Katrin Leinweber <kleinweber@gitlab.com> | 2021-03-24 11:07:32 +0300 |
---|---|---|
committer | Katrin Leinweber <kleinweber@gitlab.com> | 2021-03-24 11:07:32 +0300 |
commit | dc6ff46c2944fbd05f0c09e749089518af4dd2ca (patch) | |
tree | 75971c308069dcf582554f90e0eda25848da3c65 /doc/design_diskcache.md | |
parent | 7791eb66e2a901eebed5cf754b477c128f45d00d (diff) |
Clarify "contents" of cache file and how to reset it
Diffstat (limited to 'doc/design_diskcache.md')
-rw-r--r-- | doc/design_diskcache.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/design_diskcache.md b/doc/design_diskcache.md index ccfb6b8fe..d72053d82 100644 --- a/doc/design_diskcache.md +++ b/doc/design_diskcache.md @@ -42,7 +42,7 @@ specific repository state: ``` ─────┐ │ - latest (file contents)│ + latest (random value) │ RPC request (digest) │ ┌──────┐ Gitaly version (string) ├─────│SHA256│─────▶ Cache key RPC Method (string) │ └──────┘ @@ -51,6 +51,10 @@ specific repository state: ─────┘ ``` +An example for a mutating operation is pushing a new commit to a repository. +As such, any `git push` will regenerate the above-described latest file and +thus the cache key. + ## Cache State Machine The repository state files are used to determine whether the repository is in |