File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -278,6 +278,9 @@ message InvocationRequest {
278
278
279
279
// Populates activityId, tracestate and tags from host
280
280
RpcTraceContext trace_context = 5 ;
281
+
282
+ // Current retry context
283
+ RetryContext retry_context = 6 ;
281
284
}
282
285
283
286
// Host sends ActivityId, traceStateString and Tags from host
@@ -292,6 +295,18 @@ message RpcTraceContext {
292
295
map <string , string > attributes = 3 ;
293
296
}
294
297
298
+ // Host sends retry context for a function invocation
299
+ message RetryContext {
300
+ // Current retry count
301
+ int32 retry_count = 1 ;
302
+
303
+ // Max retry count
304
+ int32 max_retry_count = 2 ;
305
+
306
+ // Exception that caused the retry
307
+ RpcException exception = 3 ;
308
+ }
309
+
295
310
// Host requests worker to cancel invocation
296
311
message InvocationCancel {
297
312
// Unique id for invocation
You can’t perform that action at this time.
0 commit comments