Skip to content

Commit d9f04cf

Browse files
authored
Updating protobuf file to v1.9.0-protofile (#9277)
* Updated subtree from https://github.com/azure/azure-functions-language-worker-protobuf. Tag: v1.9.0-protofile
1 parent bf0332b commit d9f04cf

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

release_notes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
-->
66
- Update Python Worker Version to [4.14.0](https://github.com/Azure/azure-functions-python-worker/releases/tag/4.14.0)
77
- Update Java Worker Version to [2.11.0](https://github.com/Azure/azure-functions-java-worker/releases/tag/2.11.0)
8+
- Update protobuf to [v1.9.0-protofile](https://github.com/Azure/azure-functions-language-worker-protobuf/releases/tag/v1.9.0-protofile)
89

910
**Release sprint:** Sprint 142
1011
[ [bugs](https://github.com/Azure/azure-functions-host/issues?q=is%3Aissue+milestone%3A%22Functions+Sprint+143%22+label%3Abug+is%3Aclosed) | [features](https://github.com/Azure/azure-functions-host/issues?q=is%3Aissue+milestone%3A%22Functions+Sprint+143%22+label%3Afeature+is%3Aclosed) ]

src/WebJobs.Script.Grpc/azure-functions-language-worker-protobuf/src/proto/FunctionRpc.proto

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,9 @@ message RpcFunctionMetadata {
337337
// A flag indicating if managed dependency is enabled or not
338338
bool managed_dependency_enabled = 14;
339339

340+
// The optional function execution retry strategy to use on invocation failures.
341+
RpcRetryOptions retry_options = 15;
342+
340343
// Properties for function metadata
341344
// They're usually specific to a worker and largely passed along to the controller API for use
342345
// outside the host
@@ -698,3 +701,30 @@ message ModelBindingData
698701
message CollectionModelBindingData {
699702
repeated ModelBindingData model_binding_data = 1;
700703
}
704+
705+
// Retry policy which the worker sends the host when the worker indexes
706+
// a function.
707+
message RpcRetryOptions
708+
{
709+
// The retry strategy to use. Valid values are fixed delay or exponential backoff.
710+
enum RetryStrategy
711+
{
712+
exponential_backoff = 0;
713+
fixed_delay = 1;
714+
}
715+
716+
// The maximum number of retries allowed per function execution.
717+
// -1 means to retry indefinitely.
718+
int32 max_retry_count = 2;
719+
720+
// The delay that's used between retries when you're using a fixed delay strategy.
721+
google.protobuf.Duration delay_interval = 3;
722+
723+
// The minimum retry delay when you're using an exponential backoff strategy
724+
google.protobuf.Duration minimum_interval = 4;
725+
726+
// The maximum retry delay when you're using an exponential backoff strategy
727+
google.protobuf.Duration maximum_interval = 5;
728+
729+
RetryStrategy retry_strategy = 6;
730+
}

0 commit comments

Comments
 (0)