Skip to content

Commit 3c6e8fd

Browse files
fix test and remove debug logging
1 parent 571ec0a commit 3c6e8fd

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

server/src/main/java/org/elasticsearch/action/admin/cluster/node/usage/TransportNodeUsageStatsForThreadPoolsAction.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ protected NodeUsageStatsForThreadPoolsAction.NodeResponse nodeOperation(
9494
NodeUsageStatsForThreadPoolsAction.NodeRequest request,
9595
Task task
9696
) {
97-
logger.info("~~~TransportNodeUsageStatsForThreadPoolsAction: START");
9897
DiscoveryNode localNode = clusterService.localNode();
9998
var writeExecutor = threadPool.executor(ThreadPool.Names.WRITE);
10099
assert writeExecutor instanceof TaskExecutionTimeTrackingEsThreadPoolExecutor;
@@ -108,8 +107,6 @@ protected NodeUsageStatsForThreadPoolsAction.NodeResponse nodeOperation(
108107
trackingForWriteExecutor.getMaxQueueLatencyMillisSinceLastPollAndReset()
109108
);
110109

111-
logger.info("~~~TransportNodeUsageStatsForThreadPoolsAction: " + threadPoolUsageStats);
112-
113110
Map<String, ThreadPoolUsageStats> perThreadPool = new HashMap<>();
114111
perThreadPool.put(ThreadPool.Names.WRITE, threadPoolUsageStats);
115112
return new NodeUsageStatsForThreadPoolsAction.NodeResponse(

x-pack/plugin/security/qa/operator-privileges-tests/src/javaRestTest/java/org/elasticsearch/xpack/security/operator/Constants.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,7 @@ public class Constants {
641641
"internal:gateway/local/started_shards",
642642
"internal:admin/indices/prevalidate_shard_path",
643643
"internal:index/metadata/migration_version/update",
644+
"internal:monitor/thread_pool/stats",
644645
"indices:admin/migration/reindex_status",
645646
"indices:admin/data_stream/index/reindex",
646647
"indices:admin/data_stream/reindex",

0 commit comments

Comments
 (0)