Skip to content

Commit 7202254

Browse files
committed
modify wlm logging message
Signed-off-by: Ruirui Zhang <[email protected]>
1 parent efc3e5d commit 7202254

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1515
- Introduced a new cluster-level API to fetch remote store metadata (segments and translogs) for each shard of an index. ([#18257](https://github.com/opensearch-project/OpenSearch/pull/18257))
1616
- Add last index request timestamp columns to the `_cat/indices` API. ([10766](https://github.com/opensearch-project/OpenSearch/issues/10766))
1717
- Introduce a new pull-based ingestion plugin for file-based indexing (for local testing) ([#18591](https://github.com/opensearch-project/OpenSearch/pull/18591))
18-
- Add support for search pipeline in search and msearch template ([#18564](https://github.com/opensearch-project/OpenSearch/pull/18564))
18+
- Add support for search pipeline in search and msearch template ([#18564](https://github.com/opensearch-project/OpenSearch/pull/18712))
19+
- [Workload Management] Modify logging message in WorkloadGroupService ([#18712](https://github.com/opensearch-project/OpenSearch/pull/18564))
1920
- Add BooleanQuery rewrite moving constant-scoring must clauses to filter clauses ([#18510](https://github.com/opensearch-project/OpenSearch/issues/18510))
2021
- Add functionality for plugins to inject QueryCollectorContext during QueryPhase ([#18637](https://github.com/opensearch-project/OpenSearch/pull/18637))
2122
- Add support for non-timing info in profiler ([#18460](https://github.com/opensearch-project/OpenSearch/issues/18460))

server/src/main/java/org/opensearch/wlm/WorkloadGroupService.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,9 @@ public void rejectIfNeeded(String workloadGroupId) {
288288
if (threshold < lastRecordedUsage) {
289289
reject = true;
290290
reason.append(resourceType)
291-
.append(" limit is breaching for ENFORCED type WorkloadGroup: (")
291+
.append(" limit is breaching for ")
292+
.append(workloadGroup.getResiliencyMode())
293+
.append(" type WorkloadGroup: (")
292294
.append(threshold)
293295
.append(" < ")
294296
.append(lastRecordedUsage)

0 commit comments

Comments
 (0)