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 {
278278
279279 // Populates activityId, tracestate and tags from host
280280 RpcTraceContext trace_context = 5 ;
281+
282+ // Current retry context
283+ RetryContext retry_context = 6 ;
281284}
282285
283286// Host sends ActivityId, traceStateString and Tags from host
@@ -292,6 +295,18 @@ message RpcTraceContext {
292295 map <string , string > attributes = 3 ;
293296}
294297
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+
295310// Host requests worker to cancel invocation
296311message InvocationCancel {
297312 // Unique id for invocation
You can’t perform that action at this time.
0 commit comments