aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJonathan Davies <jpds@protonmail.com>2023-06-15 17:57:14 +0100
committerJonathan Davies <jpds@protonmail.com>2023-06-19 10:15:30 +0100
commit185f9e78f3c2ba80424e9e9c7c8ffc58a005c91b (patch)
tree2b8f74c659a92b80d4b24770e4536ec8d7c7f613 /doc
parentfb971a5f01547516e9850f0fd34e42ad1d67c777 (diff)
downloadgarage-185f9e78f3c2ba80424e9e9c7c8ffc58a005c91b.tar.gz
garage-185f9e78f3c2ba80424e9e9c7c8ffc58a005c91b.zip
operations/durability-repairs.md: Added note about randomized scrub times.
Diffstat (limited to 'doc')
-rw-r--r--doc/book/operations/durability-repairs.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/book/operations/durability-repairs.md b/doc/book/operations/durability-repairs.md
index b8992f85..79888a5a 100644
--- a/doc/book/operations/durability-repairs.md
+++ b/doc/book/operations/durability-repairs.md
@@ -26,8 +26,11 @@ their content is correct, by verifying their hash. Any block found to be corrupt
(e.g. by bitrot or by an accidental manipulation of the datastore) will be
restored from another node that holds a valid copy.
-A scrub is run automatically by Garage every 30 days. It can also be launched
-manually using `garage repair scrub start`.
+Scrubs are automatically scheduled by Garage to run every 25-35 days (the
+actual time is randomized to spread load across nodes). The next scheduled run
+can be viewed with `garage worker get`.
+
+A scrub can also be launched manually using `garage repair scrub start`.
To view the status of an ongoing scrub, first find the task ID of the scrub worker
using `garage worker list`. Then, run `garage worker info <scrub_task_id>` to
@@ -79,7 +82,7 @@ To help make the difference between cases 1 and cases 2 and 3, you may use the
`garage block info` command to see which objects hold a reference to each block.
In the second case (transient errors), Garage will try to fetch the block again
-after a certain time, so the error should disappear natuarlly. You can also
+after a certain time, so the error should disappear naturally. You can also
request Garage to try to fetch the block immediately using `garage block retry-now`
if you have fixed the transient issue.