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

GitHub | rayward | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

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

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

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

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

    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
      IndexShard$EngineRefresher$1.run
      1. org.elasticsearch.index.engine.ElasticsearchConcurrentMergeScheduler.refreshConfig(ElasticsearchConcurrentMergeScheduler.java:176)
      2. org.elasticsearch.index.engine.InternalEngine.refresh(InternalEngine.java:685)
      3. org.elasticsearch.index.shard.IndexShard.refresh(IndexShard.java:661)
      4. org.elasticsearch.index.shard.IndexShard$EngineRefresher$1.run(IndexShard.java:1343)
      4 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