Comments (11)
I've encountered this issue as well. Rolling back Microsoft.Azure.Functions.Worker.Extensions.DurableTask
to 1.1.0 fixes the issue, it appears to be a regression in v1.1.2 of that package.
from durabletask-dotnet.
Thanks all, sorry we did not catch this. I'll see if we can fix this in our upcoming releae.
from durabletask-dotnet.
For me it was enough to downgrade package Microsoft.Azure.Functions.Worker.Extensions.DurableTask
from 1.1.2
to 1.1.1
.
from durabletask-dotnet.
This fix doesn't appear to have made it into 1.1.3, any idea when we'll get it? (unless Microsoft.Azure.Functions.Worker.FunctionsDurableTaskClient does not support orchestration termination.
is strictly speaking a different issue).
Edit: just had a look at the NotSupportedException
s are still there for Purge too
Edit 2: Just seen 1.2.3 release notes
from durabletask-dotnet.
@gfgw I'm currently using TerminateInstanceAsync(string instanceId, object? output, CancellationToken cancellation = default(CancellationToken))
as a temporary fix, it is only Task TerminateInstanceAsync(string instanceId, TerminateInstanceOptions? options = null, CancellationToken cancellation = default(CancellationToken))
that is throwing the unintended exception in the latest version
from durabletask-dotnet.
I ran into this too. Getting System.NotSupportedException: 'Microsoft.Azure.Functions.Worker.FunctionsDurableTaskClient does not support purging of orchestration instances.'
when trying to call DurableTaskClient.PurgeInstanceAsync()
, after upgrading from 1.0.3 -> 1.1.2.
from durabletask-dotnet.
Looks like this change caused this: v1.1.1...v1.2.0#diff-c7a6ad429a79519f6c23e141c7d033c7066d66ef34af21302c877fbdd62171c7R373
from durabletask-dotnet.
I would like to confirm the issue. Because of this, we cannot delete the orchestrator instances anymore. As these instances contain PII-data and therefore we are not GDPR-compliant anymore.
We've just finished our migration and on the latest package in the DurableTaskClient
class the following implementations reside:
public virtual Task<PurgeResult> PurgeInstanceAsync(
string instanceId, PurgeInstanceOptions? options = null, CancellationToken cancellation = default)
{
throw new NotSupportedException($"{this.GetType()} does not support purging of orchestration instances.");
}
public virtual Task<PurgeResult> PurgeAllInstancesAsync(
PurgeInstancesFilter filter, PurgeInstanceOptions? options = null, CancellationToken cancellation = default)
{
throw new NotSupportedException($"{this.GetType()} does not support purging of orchestration instances.");
}
For now, we are falling back to another version (1.1.1 also fixes the issue) as @dunxbc mentioned in hit post above.
from durabletask-dotnet.
FYI @jviau, and @cgillum (since you were already submitting some changes for .NET isolated already)
from durabletask-dotnet.
I am running into same sort of problem when upgrading from to the latest version. But then with a NotSupportedException
on DurableTaskClient.TerminateInstanceAsync
. Will this be fixed as well?
from durabletask-dotnet.
I'm able to reproduce the issue with Terminate - I was focused only on the purging issue (as in the title) so I missed Terminate had regressed on that same PR. Sorry folks, I'm looking to see if we can implement some kind of breaking change analyzer in the CI to prevent this in the future (not sure if this is the right approach yet) but I'm on it nonetheless.
from durabletask-dotnet.
Related Issues (20)
- Unit Testing Isolated Model Azure Durable Function Orchestrator in .Net 8 HOT 6
- PurgeInstancesAsync fails after 100 seconds
- Class syntax example doesn't work HOT 2
- PurgeAllInstancesAsync Fails with Exception when there are no instances to Purge from PurgeFilter HOT 1
- Listing instances with DurableTaskClient.GetAllInstancesAsync() is more than twice as slower than with IDurableOrchestrationClient.ListInstancesAsync() HOT 4
- Durable functions hubname cannot be configured from app settings HOT 1
- WaitForExternalEvent<T>(eventName, timespan, cancellationToken) not supported (anymore?) in isolated mode
- Ability to Set Both RetryPolicy? Policy and AsyncRetryHandler? Handler in TaskRetryOptions HOT 8
- (De)serialize `State` property when using `TaskEntity<TState>`-based implementation not working (correctly) HOT 7
- Roslyn Analyzer: System.TimeProvider
- Roslyn Analyzer: document how orchestrations are analyzed and the method probing is executed.
- The filter passed to _PurgeAllInstancesAsync(PurgeInstancesFilter filter, CancellationToken cancellation)_ on the DurableTaskClient, is not used, instead a new instance is created HOT 1
- Any documentation on how to build the project? HOT 1
- RaiseEventAsync with a given taskhubname is missing compared to in process HOT 4
- Investigate state sharing between different Roslyn analyzers
- RpcException - PurgeAllInstancesAsync operation was canceled - HttpClient.Timeout of 100 seconds elapsing HOT 4
- Improve environment variable analyzer to catch dotnet configuration APIs
- Keep getting "Error connecting to subchannel." errors when running on Azure HOT 1
- EntityTrigger does not get triggered in version of Microsoft.Azure.Functions.Worker.Extensions.DurableTask 1.1.3 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from durabletask-dotnet.