HBASE-12583 Allow creating reference files even the split row not lies in the storefile range if required - Addendum(Rajeshbabu)
This commit is contained in:
parent
0a22196468
commit
53493ff5db
|
@ -127,12 +127,12 @@ public abstract class RegionSplitPolicy extends Configured {
|
|||
}
|
||||
|
||||
/**
|
||||
* In {@link HRegionFileSystem#splitStoreFile(org.apache.hadoop.hbase.HRegionInfo,
|
||||
* String, StoreFile, byte[], boolean)} we are not creating the split reference if split row
|
||||
* not lies in the StoreFile range. But some use cases we may need to create the split reference
|
||||
* even the split row not lies in the range.
|
||||
* This method can be used to whether to skip the the StoreRile range check or not.
|
||||
* @return whether to skip the StoreFile range check or or not
|
||||
* In {@link HRegionFileSystem#splitStoreFile(org.apache.hadoop.hbase.HRegionInfo, String,
|
||||
* StoreFile, byte[], boolean, RegionSplitPolicy)} we are not creating the split reference
|
||||
* if split row not lies in the StoreFile range. But in some use cases we may need to create
|
||||
* the split reference even when the split row not lies in the range. This method can be used
|
||||
* to decide, whether to skip the the StoreFile range check or not.
|
||||
* @return whether to skip the StoreFile range check or not
|
||||
*/
|
||||
protected boolean skipStoreFileRangeCheck() {
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue