// move away our local copy of the segment
EditLogFile localCorruptedFile = null;
try {
localCorruptedFile = task.getInprogressSegment(remoteStartTxid);
if (localCorruptedFile != null) {
localCorruptedFile.moveAsideCorruptFile();
}
} catch (Exception e) {
LOG.warn(logMsg + "exception when marking segment: "
+ localCorruptedFile + " as corrupt.", e);
}