Skip to content

Commit eca6003

Browse files
jrodewigjaymode
andauthored
[DOCS] Document several missing thread pools (#48543)
Adds documentation for the following thread pools: - fetch_shard_started - fetch_shard_store - flush - force_merge - management Closes #48524 Co-Authored-By: Jay Modi <[email protected]>
1 parent 93dc894 commit eca6003

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/reference/modules/threadpool.asciidoc

+24
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,30 @@ There are several thread pools, but the important ones include:
5252
Mainly for java client executing of action when listener threaded is set to true.
5353
Thread pool type is `scaling` with a default max of `min(10, (# of available processors)/2)`.
5454

55+
`fetch_shard_started`::
56+
For listing shard states.
57+
Thread pool type is `scaling` with keep-alive of `5m` and a default maximum
58+
size of `2 * # of available processors`.
59+
60+
`fetch_shard_store`::
61+
For listing shard stores.
62+
Thread pool type is `scaling` with keep-alive of `5m` and a default maximum
63+
size of `2 * # of available processors`.
64+
65+
`flush`::
66+
For <<indices-flush,flush>>, <<indices-synced-flush-api,synced flush>>, and <<index-modules-translog, translog>> `fsync` operations.
67+
Thread pool type is `scaling` with a keep-alive of `5m` and a default
68+
maximum size of `min(5, (# of available processors)/2)`.
69+
70+
`force_merge`::
71+
For <<indices-forcemerge,force merge>> operations.
72+
Thread pool type is `fixed` with a size of 1 and an unbounded queue size.
73+
74+
`management`::
75+
For cluster management.
76+
Thread pool type is `scaling` with a keep-alive of `5m` and a default
77+
maximum size of `5`.
78+
5579
Changing a specific thread pool can be done by setting its type-specific
5680
parameters; for example, changing the number of threads in the `write` thread
5781
pool:

0 commit comments

Comments
 (0)