RepairJob job = new RepairJob(this, parentRepairSession, id, keyspace, cfname, range, parallelismDegree, taskExecutor); jobs.offer(job); jobs.peek().sendTreeRequests(endpoints);
validations = sendValidationRequest(allEndpoints);
if (job.addTree(endpoint, tree) == 0) if (!job.isFailed()) job.submitDifferencers(); nextJob.sendTreeRequests(endpoints);
if (job.completedSynchronization()) if (completedJob != null && completedJob.isFailed()) logger.warn(String.format("[repair #%s] %s sync failed%s", getId(), desc.columnFamily, remaining)); else
for (String cfname : cfnames) RepairJob job = new RepairJob(this, cfname); executor.execute(job); jobs.add(job);
for (String cfname : cfnames) RepairJob job = new RepairJob(this, cfname); executor.execute(job); jobs.add(job);
for (String cfname : cfnames) RepairJob job = new RepairJob(this, cfname); executor.execute(job); jobs.add(job);
validations = sendValidationRequest(allEndpoints);
validations = sendValidationRequest(allEndpoints);