diff options
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 |