Skip to content
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

Azure leases expire #141

Open
gliljas opened this issue Sep 5, 2022 · 1 comment
Open

Azure leases expire #141

gliljas opened this issue Sep 5, 2022 · 1 comment

Comments

@gliljas
Copy link

gliljas commented Sep 5, 2022

Hi! We've recently switched to this beautiful library from having an inhouse developed implementation with Azure blob leases. Unfortunately we now see a lot of "A lease ID was specified, but the lease for the blob has expired." in production. It's thrown by DeleteIfExistsAsync, i.e during disposal.

I'm experimenting with different cadence settings, but would like to raise the issue anyway.

@madelson
Copy link
Owner

madelson commented Sep 5, 2022

@gliljas thanks for your interest in the library. I wonder if you're running into #132 ? Could you post the full error detail (exception.ToString())?

It would also be useful to see some code snippets showing your setup (what options are you using, how are you creating/acquiring/releasing the lock, etc).

Finally, are you subscribing to the HandleLostToken on the handle? Is it firing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants