infinispan/infinispan — pull request #2217 by wburns (2013-11-13 22:05:17+00:00)
Title: ISPN-3694 ActivationInterceptor when activating an entry has a gap

when no entry is available

* Fixed issue that activation was tied to context
** This caused issue where entry was neither in dc or loader
** It now commits the entry into dc before removing from loader
* Added tests and cleaned up existing test that wasn't working properly

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

Continuation of https://github.com/infinispan/infinispan/pull/2208

Also found there was an issue with write commands where until the value was committed that it also had a gap. Changed it now so whenever a value is loaded from CacheLoaderInterceptor we write it to DC and remove from loader with manual Passivation. Also found issue with putAll method that requires some additional work.