tflobbe commented on a change in pull request #1602: URL: https://github.com/apache/lucene-solr/pull/1602#discussion_r466561784
########## File path: solr/core/src/java/org/apache/solr/update/SolrIndexConfig.java ########## @@ -87,6 +100,7 @@ private SolrIndexConfig(SolrConfig solrConfig) { maxBufferedDocs = -1; ramBufferSizeMB = 100; ramPerThreadHardLimitMB = -1; + maxCommitMergeWaitMillis = -1; Review comment: I don't think that's a good idea. "-1" from the Solr perspective means "don't set the value". If someone has a custom merge policy where they have a different value set by code, we would be changing it to `org.apache.lucene.index.IndexWriterConfig#DEFAULT_MAX_COMMIT_MERGE_WAIT_MILLIS` without them having set anything on `solrconfig.xml`. > In the future, this constant might change, and that's good. That's fine, since we aren't calling `iwc.setMaxCommitMergeWaitMillis(...)` in the default case, we'll be taking the new default for all cores where no alternative configuration has been provided. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org