Skip to content

Commit

Permalink
Docs: Add ccr to the cat thread pool doc test (#31442)
Browse files Browse the repository at this point in the history
Since #31251, we use the default distribution to test docs. With this
distribution, the cat thread-pool response will include the ccr
thread-pool. This commit adjusts /_cat/thread_pool doc to include ccr.

Relates #31251
  • Loading branch information
dnhatn authored Jun 21, 2018
1 parent 9f423da commit d467be3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/reference/cat/thread_pool.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ Which looks like:
[source,txt]
--------------------------------------------------
node-0 analyze 0 0 0
...
node-0 fetch_shard_started 0 0 0
node-0 fetch_shard_store 0 0 0
node-0 flush 0 0 0
...
node-0 write 0 0 0
--------------------------------------------------
// TESTRESPONSE[s/\.\.\./(node-0 .+ 0 0 0\n)+/]
// TESTRESPONSE[s/\.\.\./(node-0 \\S+ 0 0 0\n)+/]
// TESTRESPONSE[s/\d+/\\d+/ _cat]
// The substitutions do two things:
// 1. Expect any number of extra thread pools. This allows us to only list a
Expand All @@ -45,6 +46,7 @@ The second column is the thread pool name
--------------------------------------------------
name
analyze
ccr (default distro only)
fetch_shard_started
fetch_shard_store
flush
Expand Down Expand Up @@ -81,6 +83,7 @@ active queue rejected
0 0 0
0 0 0
0 0 0
0 0 0
1 0 0
0 0 0
0 0 0
Expand Down

0 comments on commit d467be3

Please sign in to comment.