HBASE-2447 LogSyncer.addToSyncQueue doesn't check if syncer is still running before waiting -- undo mistaken commit of unrelated stuff
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@937590 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1982339473
commit
6b626b5e5d
|
@ -1866,14 +1866,8 @@ public class HRegion implements HConstants, HeapSize { // , Writable{
|
|||
}
|
||||
results.clear();
|
||||
boolean returnResult = nextInternal(limit);
|
||||
if (!returnResult && filter != null) {
|
||||
// final chance to modify row contents
|
||||
returnResult = filter.filterRow(results);
|
||||
// final chance to drop the row... This may be superfluous with the addition of the above?
|
||||
// still needed for backwards compatibility however
|
||||
if (returnResult || filter.filterRow()) {
|
||||
results.clear();
|
||||
}
|
||||
if (!returnResult && filter != null && filter.filterRow()) {
|
||||
results.clear();
|
||||
}
|
||||
outResults.addAll(results);
|
||||
resetFilters();
|
||||
|
|
Loading…
Reference in New Issue