azure-contrib / AzureDirectory

A Lucene Directory Provider for Azure Blob Storage
Microsoft Public License
77 stars 57 forks source link

Fixed bug in AzureLock that caused timeout when Azure returned 409 #5

Closed dhaneyim3 closed 10 years ago

dhaneyim3 commented 10 years ago

Fixed bug in AzureLock that caused timeout when Azure returned 409. Previously it only handled 404, however 409 is sometimes thrown by Azure. The code 409 means that the file is corrupted and must be removed, so this change allows the lock file to be overwritten.

richorama commented 10 years ago

Thanks David!