java.lang.IllegalArgumentException: maxThreadCount should be <= maxMergeCount (= 7)

GitHub | joshuar | 6 months ago
  1. 0

    Need to validate index.merge.scheduler.max_thread_count input?

    GitHub | 6 months ago | joshuar
    java.lang.IllegalArgumentException: maxThreadCount should be <= maxMergeCount (= 7)
  2. 0

    index.merge.scheduler.max_thread_count is not validated correctly, can break indexing

    GitHub | 4 months ago | rayward
    java.lang.IllegalArgumentException: maxThreadCount should be <= maxMergeCount (= 7)
  3. 0
    This happened when I tried to insert an empty list of elements to a collection.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.
  6. 0
    Some bots are sending malformed HTTP requests to your site. Try to find their IP addresses in the access logs and ask them to fix the bots or blacklist them.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      maxThreadCount should be <= maxMergeCount (= 7)

      at org.apache.lucene.index.ConcurrentMergeScheduler.setMaxMergesAndThreads()
    2. Lucene
      ConcurrentMergeScheduler.setMaxMergesAndThreads
      1. org.apache.lucene.index.ConcurrentMergeScheduler.setMaxMergesAndThreads(ConcurrentMergeScheduler.java:154)
      1 frame
    3. ElasticSearch
      PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run
      1. org.elasticsearch.index.engine.ElasticsearchConcurrentMergeScheduler.refreshConfig(ElasticsearchConcurrentMergeScheduler.java:176)
      2. org.elasticsearch.index.engine.InternalEngine.onSettingsChanged(InternalEngine.java:1272)
      3. org.elasticsearch.index.shard.IndexShard$ApplyRefreshSettings.onRefreshSettings(IndexShard.java:1325)
      4. org.elasticsearch.index.settings.IndexSettingsService.refreshSettings(IndexSettingsService.java:54)
      5. org.elasticsearch.indices.cluster.IndicesClusterStateService.applySettings(IndicesClusterStateService.java:322)
      6. org.elasticsearch.indices.cluster.IndicesClusterStateService.clusterChanged(IndicesClusterStateService.java:169)
      7. org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:610)
      8. org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:772)
      9. org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231)
      10. org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)
      10 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames