-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with OrchestrationMetadata 'SerializedOutput' for large messages #3010
Comments
The behavior you're seeing is normally controlled by the {
"extensions": {
"durableTask": {
"hubName": "MyTaskHub",
"storageProvider": {
"fetchLargeMessageDataEnabled": true,
}
}
}
} The default value should be true. By chance are you overriding this value in your settings? As far as how/whether it's related to just the version change, it doesn't look like this default has ever changed. The other possibility is that there is some regression in the DurableTask.AzureStorage dependency that the extension internally uses that's causing a change in behavior. Adding @bachuv and @nytian in case they may have ideas about this. |
Thanks for the feedback. No, we aren't changing that configuration value - this is our current host.json:
We could try explicitly setting it to "true", although if that's already the default I'm guessing it won't make a difference? |
We tried explicitly adding that flag to host.json but saw the exact same error as expected.
|
Description
In our .Net 8 Durable Functions app, we sometimes have large Orchestration output. This was working ok in Microsoft.Azure.Functions.Worker.Extensions.DurableTask 1.1.7, but after updating to 1.2.x, the app crashes with a JSON deserialization error when invoking OrchestrationMetadata.ReadOutputAs<>().
After debugging we discovered that the 'SerializedOutput' property value contains the large message blob URL instead of the actual JSON data - example: http://127.0.0.1:10000/devstoreaccount1/hub-largemessages/FetchJob@y8m81oulAKVO7pwg80XQwUNyNM/history-0000000000000006-ExecutionCompleted-5FE4514C-Result.json.gz
Expected behavior
Expectation is that the 'SerializedOutput' contains the output JSON and not the blob reference URL
Actual behavior
'SerializedOutput' contains a URL pointing to the large message blob
Relevant source code snippets
Known workarounds
Rollback Microsoft.Azure.Functions.Worker.Extensions.DurableTask to version 1.1.7
App Details
The text was updated successfully, but these errors were encountered: