Skip to content

Commit d33901d

Browse files
committed
comment
1 parent d480056 commit d33901d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

server/src/main/java/org/elasticsearch/index/shard/IndexShard.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2733,8 +2733,8 @@ public IndexEventListener getIndexEventListener() {
27332733
return indexEventListener;
27342734
}
27352735

2736-
/** Asks this shard to throttle indexing to one thread. If {@link IndexingMemoryController#PAUSE_INDEXING_ON_THROTTLE}
2737-
* setting is set to true, throttling will pause indexing completely.
2736+
/** Activate throttling for this shard. If {@link IndexingMemoryController#PAUSE_INDEXING_ON_THROTTLE}
2737+
* setting is set to true, throttling will pause indexing completely. Otherwise, indexing will be throttled to one thread.
27382738
*/
27392739
public void activateThrottling() {
27402740
try {
@@ -2744,10 +2744,6 @@ public void activateThrottling() {
27442744
}
27452745
}
27462746

2747-
public void pauseIndexing() {
2748-
2749-
}
2750-
27512747
public void deactivateThrottling() {
27522748
try {
27532749
getEngine().deactivateThrottling();

0 commit comments

Comments
 (0)