infinispan/infinispan — pull request #1308 by galderz (2012-09-13 14:32:39+00:00)
Title: ISPN-1174 Fix async cache store consistency issues with some operations

https://issues.jboss.org/browse/ISPN-1174

Sanne's delayed birthday present :)

* This fix addresses issues related to interaction between remove, eviction (with and without passivation) and async cache store, making sure that the cache returns consistent information.

* To build unit tests I've had to patch internal cache components to behave in a particular way, which has lead me to converting the component metadata repository to a non-static class. This helps enormously in building such unit tests without having to change existing components.

NOTE: A stress test for async stores will be developed in time for CR, see [ISPN-2293](https://issues.jboss.org/browse/ISPN-2293)