Hi, I have opensearch “2.11.0” and I can’t increase the number of force_merge threads.
GET /_cluster/settings?include_defaults=true say
:
"thread_pool": {
.......,
"force_merge": {
"queue_size": "-1",
"size": "3"
},
but despite that GET /_cat/thread_pool
says:
node1 force_merge 1 0 0
node2 force_merge 1 0 0
and force_merge takes too long
Index that’s merging also has increased config:
GET /index123/_settings
:
"merge": {
"scheduler": {
"max_thread_count": "43",
"max_merge_count": "50"
},
"policy": {
"floor_segment": "100mb",
"max_merge_at_once": "40",
"max_merged_segment": "2gb"
}
},
Why there are only 2 forcemerge threads instead of 2*3=6 ?