Skip to content

Commit ff20d62

Browse files
committed
Lower down the log level to DEBUG
This logging message is relevant to experimental feature that is not yet turned on by default. When this code runs in production then this logging message is confisung OPS because there is nothing they can do to address this WARN level message. Closes: #18137 Signed-off-by: Lukáš Vlček <lukas.vlcek@aiven.io>
1 parent 00abaac commit ff20d62

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1616

1717
### Changed
1818

19+
- Lower down the log level to DEBUG ([#18173](https://github.com/opensearch-project/OpenSearch/pull/18173))
20+
1921
### Dependencies
2022
- Bump `com.google.code.gson:gson` from 2.12.1 to 2.13.0 ([#17923](https://github.com/opensearch-project/OpenSearch/pull/17923))
2123
- Bump `com.github.spotbugs:spotbugs-annotations` from 4.9.0 to 4.9.3 ([#17922](https://github.com/opensearch-project/OpenSearch/pull/17922))

server/src/main/java/org/opensearch/cluster/routing/allocation/AllocationService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ private void allocateExistingUnassignedShards(RoutingAllocation allocation) {
625625
allocateAllUnassignedShards(allocation);
626626
return;
627627
}
628-
logger.warn("Falling back to single shard assignment since batch mode disable or multiple custom allocators set");
628+
logger.debug("Falling back to single shard assignment since batch mode disable or multiple custom allocators set");
629629

630630
final RoutingNodes.UnassignedShards.UnassignedIterator primaryIterator = allocation.routingNodes().unassigned().iterator();
631631
while (primaryIterator.hasNext()) {

0 commit comments

Comments
 (0)