]
Dan Berindei updated ISPN-5564:
-------------------------------
Status: Pull Request Sent (was: Open)
AsyncCacheWriter stop() and clear() should not wait for space in the
modifications queue
----------------------------------------------------------------------------------------
Key: ISPN-5564
URL:
https://issues.jboss.org/browse/ISPN-5564
Project: Infinispan
Issue Type: Enhancement
Reporter: Karsten Blees
Fix For: 8.0.0.Beta1, 7.2.4.Final
AsyncCacheWriter.clear() invalidates all enqueued changes rather than adding more changes
to the queue. Thus, clear should not wait if the queue is full.
AsyncCacheWriter.stop() should also take effect immediately (i.e. set the stopped flag
*without* waiting if the queue is full).