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 5f92b91e60
commit c19bc6d6e0
1 changed files with 0 additions and 1 deletions

View File

@ -1511,7 +1511,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()) {