private void createBackupLogs() { if (backupLogsCreated || skipBackupLogReplication()) { return; } forceCreateBackupLogs(); }
private void createBackupLogs() { if (backupLogsCreated || skipBackupLogReplication()) { return; } forceCreateBackupLogs(); }
private void replicateTxnLog() { if (skipBackupLogReplication()) { return; } OperationService operationService = nodeEngine.getOperationService(); ClusterService clusterService = nodeEngine.getClusterService(); List<Future> futures = new ArrayList<Future>(backupAddresses.length); for (Address backupAddress : backupAddresses) { if (clusterService.getMember(backupAddress) != null) { Operation op = createReplicateTxBackupLogOperation(); Future f = operationService.invokeOnTarget(SERVICE_NAME, op, backupAddress); futures.add(f); } } waitWithDeadline(futures, timeoutMillis, MILLISECONDS, replicationTxExceptionHandler); }
private void replicateTxnLog() { if (skipBackupLogReplication()) { return; } OperationService operationService = nodeEngine.getOperationService(); ClusterService clusterService = nodeEngine.getClusterService(); List<Future> futures = new ArrayList<Future>(backupAddresses.length); for (Address backupAddress : backupAddresses) { if (clusterService.getMember(backupAddress) != null) { Operation op = createReplicateTxBackupLogOperation(); Future f = operationService.invokeOnTarget(SERVICE_NAME, op, backupAddress); futures.add(f); } } waitWithDeadline(futures, timeoutMillis, MILLISECONDS, replicationTxExceptionHandler); }