Change site status only after failures
---------------------------------------
Key: ISPN-10848
URL:
https://issues.jboss.org/browse/ISPN-10848
Project: Infinispan
Issue Type: Enhancement
Components: Cross-Site Replication
Affects Versions: 9.4.16.Final, 10.0.0.CR3
Reporter: Pedro Ruivo
Assignee: Pedro Ruivo
Priority: Major
Fix For: 10.1.0.Beta1
Currently, the site status is checked and updates before sending each write request.
However, it would be better to update the site's status only after a failure.
If the cluster becomes idle and the last cross-site requests fail, the site will be taken
offline. Changing this, will keep the site online and only updates the status after it
sent the request.