public void notifyStatePushFinished(String siteName, Address node, boolean statusOk) throws Throwable {
XSiteStateTransferCollector collector = siteCollector.get(siteName);
if (collector == null) {
return;
}
final XSiteBackup xSiteBackup = findSite(siteName);
if (collector.confirmStateTransfer(node, statusOk)) {
siteCollector.remove(siteName);
status.put(siteName, collector.isStatusOk() ? STATUS_OK : STATUS_ERROR);
controlStateTransferOnLocalSite(StateTransferControl.CANCEL_SEND, siteName); //to force the nodes to cleanup
controlStateTransferOnRemoteSite(xSiteBackup, StateTransferControl.FINISH_RECEIVE, backupRpcConfiguration(siteName));