boolean containsTxId(long txId) {
return firstTxId <= txId && txId <= lastTxId;
}
public void validateLog() throws IOException {
EditLogValidation val = EditLogFileInputStream.validateEditLog(fs,file);
this.lastTxId = val.getEndTxId();
this.hasCorruptHeader = val.hasCorruptHeader();
}