-
Notifications
You must be signed in to change notification settings - Fork 271
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
Fix custom connection name not working when using IDurableClientFactory -> CreateClient(). #2923
Conversation
…assigned any value in StorageConnectionString
Thanks @hctan for this contribution, and for adding tests! @bachuv and/or @wsugarman, would you be able to take a quick look at this small PR? It seems like an important issue to fix. |
Hi @cgillum , is the PR good to merge? I'm checking on my side for the CLA options. I noticed there's a smoke test failing, but I don't think its related to my change, I wasn't able to restart the test. |
Hi @hctan. I'll take a look at the smoke test. If there's no issue, I'll go ahead and merge this. |
I think the MSSQL smoke test failure is probably not related to your change (it may be some external change). If you're able to do the CLA step, then I may just go ahead and merge this. |
@microsoft-github-policy-service agree |
Hi @cgillum , sorry for the delay. I've done the CLA step. May I know roughly when this change would be in a release after you have merged it? Thanks. |
hi @cgillum , can help to approve this? Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again for this PR, and for signing the CLA. I see that the MSSQL smoke test is failing, but I see that it's failing for other PRs as well, hence is not likely related to this change.
Fix custom connection name not working when using IDurableClientFactory -> CreateClient(). It always return the default durable client.
The issue was caused by checking for StorageConnectionString which is no longer assigned any value (checkout the GetAzureStorageOrchestrationServiceSettings() function where the setting object is configured).
The fix is to check connection string in StorageAccountDetails -> ConnectionString instead.
Issue describing the changes in this PR
resolves #issue_for_this_pr
Pull request checklist
pending_docs.md
release_notes.md
/src/Worker.Extensions.DurableTask/AssemblyInfo.cs