From 11bf206e0dc250410b21c2d226ce5746054e76ae Mon Sep 17 00:00:00 2001 From: Timothy Potter Date: Fri, 22 May 2015 17:44:57 +0000 Subject: [PATCH] SOLR-6820: Increase the default number of buckets to 65536 instead of 256 git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681169 13f79535-47bb-0310-9956-ffa450edef68 --- solr/core/src/java/org/apache/solr/update/UpdateLog.java | 2 +- solr/server/solr/configsets/basic_configs/conf/solrconfig.xml | 2 +- .../configsets/data_driven_schema_configs/conf/solrconfig.xml | 2 +- .../configsets/sample_techproducts_configs/conf/solrconfig.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/solr/core/src/java/org/apache/solr/update/UpdateLog.java b/solr/core/src/java/org/apache/solr/update/UpdateLog.java index c286cba0d65..cd87978a417 100644 --- a/solr/core/src/java/org/apache/solr/update/UpdateLog.java +++ b/solr/core/src/java/org/apache/solr/update/UpdateLog.java @@ -244,7 +244,7 @@ public class UpdateLog implements PluginInfoInitialized { numRecordsToKeep = objToInt(info.initArgs.get("numRecordsToKeep"), 100); maxNumLogsToKeep = objToInt(info.initArgs.get("maxNumLogsToKeep"), 10); - numVersionBuckets = objToInt(info.initArgs.get("numVersionBuckets"), 256); + numVersionBuckets = objToInt(info.initArgs.get("numVersionBuckets"), 65536); if (numVersionBuckets <= 0) throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "Number of version buckets must be greater than 0!"); diff --git a/solr/server/solr/configsets/basic_configs/conf/solrconfig.xml b/solr/server/solr/configsets/basic_configs/conf/solrconfig.xml index 573ca8a6c58..8e50a0e1f52 100644 --- a/solr/server/solr/configsets/basic_configs/conf/solrconfig.xml +++ b/solr/server/solr/configsets/basic_configs/conf/solrconfig.xml @@ -157,7 +157,7 @@ --> ${solr.ulog.dir:} - ${solr.ulog.numVersionBuckets:256} + ${solr.ulog.numVersionBuckets:65536} ${solr.ulog.dir:} - ${solr.ulog.numVersionBuckets:256} + ${solr.ulog.numVersionBuckets:65536} ${solr.ulog.dir:} - ${solr.ulog.numVersionBuckets:256} + ${solr.ulog.numVersionBuckets:65536}