azure-contrib / AzureDirectory

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

There is currently a lease on the blob and no lease ID was specified in the request. #21

Closed jbreuer closed 8 years ago

jbreuer commented 8 years ago

I've just updated my code with 270e041 to fix #20. Now I'm getting the following error:

The remote server returned an error: (412) There is currently a lease on the blob and no lease ID was specified in the request.

You can also get this error by running https://github.com/azure-contrib/AzureDirectory/blob/master/TestApp/Program.cs multiple times with the following app setting enabled: https://github.com/azure-contrib/AzureDirectory/blob/master/TestApp/app.config#L6

jbreuer commented 8 years ago

I can see files in the blob storage now so it is working.

jbreuer commented 8 years ago

I've fixed this by making sure each index has a different rootfolder.