HBASE-13811 Splitting WALs, we are filtering out too many edits -> DATALOSS; ADDENDUM
This commit is contained in:
parent
5f92b91e60
commit
c19bc6d6e0
@ -1511,7 +1511,6 @@ public class WALSplitter {
|
|||||||
if (!CellUtil.matchingFamily(cell, WALEdit.METAFAMILY)) {
|
if (!CellUtil.matchingFamily(cell, WALEdit.METAFAMILY)) {
|
||||||
byte[] family = CellUtil.cloneFamily(cell);
|
byte[] family = CellUtil.cloneFamily(cell);
|
||||||
Long maxSeqId = maxSeqIdInStores.get(family);
|
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,
|
// 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.
|
// or the master was crashed before and we can not get the information.
|
||||||
if (maxSeqId != null && maxSeqId.longValue() >= logEntry.getKey().getLogSeqNum()) {
|
if (maxSeqId != null && maxSeqId.longValue() >= logEntry.getKey().getLogSeqNum()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user