-
Notifications
You must be signed in to change notification settings - Fork 36
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
Isolated Mode - Support non-AzureWebJobsStorage storage #217
Comments
Hi @lanni-energinet , just to clarify: what exact scenario(s) do not work in your setup? |
Yes the list of instances are mostly correct but the column customStatus is populated with the value null due to the TableClient querying the wrong storae. Clicking on a instance results in a System.NullReferenceException |
That's not good indeed, and needs to be fixed. |
Thank you for your quick response. I know its not an optimal fix, but would it be possible to change Globals.GetFullConnectionStringEnvVariableName to the following implementation in a beta release. I am quite confident that this implementation would fix the issue for now, the more permanent solution would be to remove connName, and figure out a mechanism to retrieve the connection from DurableTaskClient
|
Pushed a fix in form of beta packages: @lanni-energinet , can I ask you to check if it works for you? |
We just checked and 6.5.2-beta1 works for us. Thank you for the quick reponse |
Can you give a timeframe for a new "stable" release, our organization follows a policy of avoiding prerelease packages |
Our organization follows azure functions recommendations from https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-azure-storage-provider#storage-account-selection
When using Storage Account as provider type, this is done by configuring host.json in the following way
The issue:
When
DurableTaskClient
is parameter bound in DfmGetOrchestrationsFunction(Orchestrations.cs), the correct connectionString and storage type forMyStorageAccountAppSetting
is resolved, as this is done through DTFx anddurableClient.ListAllInstances(...)
successfully queries the storage.Later steps uses
Globals.GetFullConnectionStringEnvVariableName(...)
which has an deficient implementation of connectionString resolution as it either returns AzureWebJobsStorage, which differs from whatDurableTaskClient
has resolved, or returns a DFM_ALTERNATIVE_CONNECTION_STRING which is currently unsupported in "Isolated" mode.Due to isolation requirements it is not feasible for us to deploy in "standalone" mode
Can you advise on how to move forward?
The text was updated successfully, but these errors were encountered: