smarx/WazStorageExtensions — Issue #2: is there a small issue in the ctor of AutoRenewLease?
Author: cbertolasio
Created: 2011-11-10 22:54:37+00:00
State: open

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?