]
Tristan Tarrant reassigned ISPN-2444:
-------------------------------------
Assignee: (was: Mircea Markus)
the incoming local xsite commands don't check if the local cache
is started
----------------------------------------------------------------------------
Key: ISPN-2444
URL:
https://issues.jboss.org/browse/ISPN-2444
Project: Infinispan
Issue Type: Feature Request
Components: Cross-Site Replication
Affects Versions: 5.2.0.Beta2, 5.2.0.Final
Reporter: Mircea Markus
Currently the CommandAwareRpcDispatcher is using different handles for commands received
from a remote site(InboundInvocationHandler) vs the commands received from the local
site(BackupReceiverRepository).
For the commands received from the remote site, there's no check to see if the
receiving cache is started, as it is in the case of commands received from the local site
(that's handled in InboundInvocationHandler.handle).
This Jira is about checking if the cache that's suposed to process a command
originated from a remote site is started. If it is not started, we should throw an
exception to signal that the backup call was not successful.