fix check for dynamic update of a setting in tiered merge policy

This commit is contained in:
kimchy 2011-06-09 22:25:51 +03:00
parent a07030ccf3
commit 1d9942847e
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ public class TieredMergePolicyProvider extends AbstractIndexShardComponent imple
}
int maxMergeAtOnceExplicit = settings.getAsInt("index.merge.policy.max_merge_at_once_explicit", TieredMergePolicyProvider.this.maxMergeAtOnceExplicit);
if (maxMergeAtOnce != TieredMergePolicyProvider.this.maxMergeAtOnceExplicit) {
if (maxMergeAtOnceExplicit != TieredMergePolicyProvider.this.maxMergeAtOnceExplicit) {
logger.info("updating [max_merge_at_once_explicit] from [{}] to [{}]", TieredMergePolicyProvider.this.maxMergeAtOnceExplicit, maxMergeAtOnceExplicit);
TieredMergePolicyProvider.this.maxMergeAtOnceExplicit = maxMergeAtOnceExplicit;
for (CustomTieredMergePolicyProvider policy : policies) {