Write error if dupe task scheduled results are received
- Dominant language
- C#
- Stars
- 1.7k
- Forks
- 335
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 6
Description
This shouldn't be required if transactions and q2q transfer work properly, but recently we have seen a couple of instances where the responses have been duped. Need to add tracing if this arises:
```
public void HandleTaskCompletedEvent(TaskCompletedEvent completedEvent)
{
int taskId = completedEvent.TaskScheduledId;
if (openTasks.ContainsKey(taskId))
{
OpenTaskInfo info = openTasks[taskId];
info.Result.SetResult(completedEvent.Result);
openTasks.Remove(taskId);
}
```
// write event and in the else here. also do the same in other similar places in TaskOrchestrationContext
}
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.