Added comment for clarity while reading code to review HBASE-4449

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1174974 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nicolas Spiegelberg 2011-09-23 19:41:39 +00:00
parent e086041801
commit 0f38c6df8a
1 changed files with 1 additions and 0 deletions

View File

@ -164,6 +164,7 @@ public final class BloomFilterFactory {
int maxFold = conf.getInt(IO_STOREFILE_BLOOM_MAX_FOLD,
MAX_ALLOWED_FOLD_FACTOR);
// Do we support compound bloom filters?
if (HFile.getFormatVersion(conf) > HFile.MIN_FORMAT_VERSION) {
// In case of compound Bloom filters we ignore the maxKeys hint.
CompoundBloomFilterWriter bloomWriter = new CompoundBloomFilterWriter(