Skip to content

Commit 4dbe603

Browse files
committed
Log start of memory throttling at info
This is symmetric with logging when throttling stops, and will make it easier to debug throttling issues.
1 parent 30d3877 commit 4dbe603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/indices/IndexingMemoryController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ private void runUnlocked() {
499499
totalBytesUsed -= shardAndBytesUsed.bytesUsed;
500500
lastShardId = shardAndBytesUsed.shard.shardId();
501501
if (doThrottle && throttled.contains(shardAndBytesUsed.shard) == false) {
502-
logger.debug(
502+
logger.info(
503503
"now throttling indexing for shard [{}]: segment writing can't keep up",
504504
shardAndBytesUsed.shard.shardId()
505505
);

0 commit comments

Comments
 (0)