feat: retry CommitRequests that fail with UNAVAILABLE
PiperOrigin-RevId: 316514901
This commit is contained in:
parent
9ba904b233
commit
9b170a4f3b
|
|
@ -15,7 +15,16 @@
|
|||
"method": "Commit"
|
||||
}
|
||||
],
|
||||
"timeout": "60s"
|
||||
"timeout": "60s",
|
||||
"retryPolicy": {
|
||||
"maxAttempts": 5,
|
||||
"initialBackoff": "0.100s",
|
||||
"maxBackoff": "60s",
|
||||
"backoffMultiplier": 1.3,
|
||||
"retryableStatusCodes": [
|
||||
"UNAVAILABLE"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": [
|
||||
|
|
|
|||
|
|
@ -170,11 +170,6 @@ message StructuredQuery {
|
|||
}
|
||||
}
|
||||
|
||||
// A reference to a field, such as `max(messages.time) as max_time`.
|
||||
message FieldReference {
|
||||
string field_path = 2;
|
||||
}
|
||||
|
||||
// An order on a field.
|
||||
message Order {
|
||||
// The field to order by.
|
||||
|
|
@ -184,6 +179,11 @@ message StructuredQuery {
|
|||
Direction direction = 2;
|
||||
}
|
||||
|
||||
// A reference to a field, such as `max(messages.time) as max_time`.
|
||||
message FieldReference {
|
||||
string field_path = 2;
|
||||
}
|
||||
|
||||
// The projection of document's fields to return.
|
||||
message Projection {
|
||||
// The fields to return.
|
||||
|
|
|
|||
Loading…
Reference in New Issue