projectkudu/kudu — pull request #276 by HenrikFrystykNielsen (2012-12-24 16:09:42+00:00)
Title: Updates to the git-backed VFS controller

1) Added more robust support for handling lock contention when multiple requests arrive at the same time. Now there is an pseudo-exponential back-off algorithm which tries multiple times getting a lock rather than giving up first time.

2) If lock cannot be obtained then return a 503 status code with a Retry-After header instead of a 409. This allows for the client to detect that it is a temporary situation and it may succeed if it retries.

3) Added support for wildcard match on DELETE and PUT. If an If-Match: * wildcard conditional request then we automatically set it to the current commit ID whatever that is.

4) Moved some of the Task stuff to .NET 4.5 so that we can use "await Task.Delay(...)".

Henrik