HBASE-13811 Splitting WALs, we are filtering out too many edits -> DATALOSS; ADDENDUM

This commit is contained in:
stack 2015-06-08 12:56:06 -07:00
parent cd71d37cb3
commit 3dfccbd424
1 changed files with 0 additions and 1 deletions

View File

@ -1519,7 +1519,6 @@ public class WALSplitter {
if (!CellUtil.matchingFamily(cell, WALEdit.METAFAMILY)) {
byte[] family = CellUtil.cloneFamily(cell);
Long maxSeqId = maxSeqIdInStores.get(family);
LOG.info("CHANGE REMOVE " + Bytes.toString(family) + ", max=" + maxSeqId);
// Do not skip cell even if maxSeqId is null. Maybe we are in a rolling upgrade,
// or the master was crashed before and we can not get the information.
if (maxSeqId != null && maxSeqId.longValue() >= logEntry.getKey().getLogSeqNum()) {