Skip to content

is there a small issue in the ctor of AutoRenewLease? #2

@cbertolasio

Description

@cbertolasio

So I have been kicking the tires on your AutoRenewLease class. Its very cool.

Sometimes you may run into various http errors when working with azure storage. Some of these http status codes are handled, some are not, and result in a "rethrow" of the exception.

If line 61 of AutoRenewLease were to encounter a temporary hiccup, what would happen?

So line 61 calles RenewLease, in its own thread. Line 61 is in the ctor.

If my code, say in my worker role, created an instance of AutoRenewLease, and 30s later, the thread tried to renew the lease, but line 61 encounters an http 500, would my worker role crash?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions