From c36b157f5f65c6381864b670ea826aad705aa6a8 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 18 Apr 2024 10:53:49 +0200 Subject: just-mrrc: support retry options --- share/man/just-mrrc.5.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'share') 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 -- cgit v1.2.3