Optimistic Concurrency in Orleans
the Storage Provider infrastructure in Orleans exposes an 'Etag' field representing a particular revision of the data in the underlying storage system. This can be used to detect writes competing writes to overwrite grain state.