ArgumentException: A lease ID must be specified when changing a lease
See original GitHub issueI see this error pop up periodically during investigations. I have not investigated the impact of this error, but it should be fixed if for no reason except to remove noise from logs.
System.ArgumentException: A lease ID must be specified when changing a lease.
Parameter name: accessCondition
at Microsoft.WindowsAzure.Storage.Blob.CloudBlob.ChangeLeaseImpl(BlobAttributes attributes, String proposedLeaseId, AccessCondition accessCondition, BlobRequestOptions options)
at Microsoft.WindowsAzure.Storage.Blob.CloudBlob.ChangeLeaseAsync(String proposedLeaseId, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext, CancellationToken cancellationToken)
at Microsoft.WindowsAzure.Storage.Blob.CloudBlob.ChangeLeaseAsync(String proposedLeaseId, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext)
at Microsoft.WindowsAzure.Storage.Blob.CloudBlob.ChangeLeaseAsync(String proposedLeaseId, AccessCondition accessCondition)
at DurableTask.AzureStorage.Partitioning.BlobLeaseManager.AcquireAsync(BlobLease lease, String owner) in C:\source\durabletask\src\DurableTask.AzureStorage\Partitioning\BlobLeaseManager.cs:line 225
at DurableTask.AzureStorage.Partitioning.PartitionManager`1.AcquireLeaseAsync(T lease) in C:\source\durabletask\src\DurableTask.AzureStorage\Partitioning\PartitionManager.cs:line 490
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Lease Blob (REST API) - Azure Storage
Changes the lease ID of an active lease. A change must include the current lease ID in x-ms-lease-id , and a new lease...
Read more >Error: 409 LeaseIdMismatchWithLeaseOperation (Listener)
The lease ID specified did not match the lease ID for the blob. Status: 409 (The lease ID specified did not match the...
Read more >Class BlobLeaseClient | Azure SDK for Net
An optional lease ID. If no lease ID is provided, a random lease ID will be created. ... A change must include the...
Read more >Don't be Fooled, Blob Lease Management is Tricky Business
Once a lease has expired, the lease ID is maintained by the Blob service until the blob is modified or leased again. A...
Read more >HOW TO ACQUIRE AND BREAK LEASE IN AZURE BLOB
HOW TO ACQUIRE AND BREAK LEASE IN AZURE BLOB. asar cloud Chef. asar cloud Chef. 5.36K subscribers. Subscribe. <__slot-el>. Subscribed.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@amdeel do you have any ideas about this error message? I see it shows up in the v1.10.1 package version as well.
We are also receiving this error periodically. This is creating unnecessary noise in the error logs if not impacting the application. Is there any fix to it?