* consistency recovery.
*/
progress.subTask("Wait for peers...");
// find the StartHandle of the inconsistent user
StartHandle inconsistentStartHandle = null;
for (StartHandle startHandle : startHandles) {
if (checksumError.getSource().equals(startHandle.getUser())) {
inconsistentStartHandle = startHandle;
break;
}
}
if (inconsistentStartHandle == null) {
log.error("Could not find the StartHandle"
+ " of the inconsistent buddy");
} else {
inconsistentStartHandle.startAndAwait(progress.newChild(200));
startHandles.remove(inconsistentStartHandle);
}
} finally {
if (startHandles != null)
for (StartHandle startHandle : startHandles)