summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-04-18 10:53:49 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-04-18 15:51:28 +0200
commitc36b157f5f65c6381864b670ea826aad705aa6a8 (patch)
treeae60e767d1dcd671988a2a3298c083146c87543b /share
parent88c792e051aea57823423bd91dfb4c439a7b52a8 (diff)
downloadjustbuild-c36b157f5f65c6381864b670ea826aad705aa6a8.tar.gz
just-mrrc: support retry options
Diffstat (limited to 'share')
-rw-r--r--share/man/just-mrrc.5.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/share/man/just-mrrc.5.md b/share/man/just-mrrc.5.md
index c9e4a073..8ebaff18 100644
--- a/share/man/just-mrrc.5.md
+++ b/share/man/just-mrrc.5.md
@@ -127,6 +127,21 @@ The just-mrrc is given by a JSON object.
as `--remote-execution-property` to the invocation of the build
tool, if **`just-mr`** is used as a launcher.
+ - The value for the key *`"max attempts"`*, if provided, has
+ to be a number. If a remote procedure call (rpc) returns
+ `grpc::StatusCode::UNAVAILABLE`, that rpc is retried at most
+ this number of times.
+
+ - The value for the key *`"initial backoff seconds"`*, if provided,
+ has to be a number. Before retrying an rpc the second time, the
+ client will wait the given amount of seconds plus a jitter, to
+ better distribute the workload.
+
+ - The value for the key *`"max backoff seconds"`*, if provided,
+ has to be a number. Normally, on subsequent retries, the backoff
+ time is doubled; this number specifies the maximal time between
+ attempts of an rpc, not counting the jitter.
+
- The value for the key *`"just files"`* is a JSON object. The keys correspond
to options that some **`just`** subcommands accept and require a file as
argument. For each key, the value is a list of location objects. When