Skip to content

Commit 722e6f5

Browse files
Yuristryywangd
authored andcommitted
Remove unused field (elastic#127494)
1 parent d2ace60 commit 722e6f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,15 +248,15 @@ protected void deactivateThrottling(IndexShard shard) {
248248

249249
@Override
250250
public void postIndex(ShardId shardId, Engine.Index index, Engine.IndexResult result) {
251-
postOperation(shardId, index, result);
251+
postOperation(index, result);
252252
}
253253

254254
@Override
255255
public void postDelete(ShardId shardId, Engine.Delete delete, Engine.DeleteResult result) {
256-
postOperation(shardId, delete, result);
256+
postOperation(delete, result);
257257
}
258258

259-
private void postOperation(ShardId shardId, Engine.Operation operation, Engine.Result result) {
259+
private void postOperation(Engine.Operation operation, Engine.Result result) {
260260
recordOperationBytes(operation, result);
261261
// Piggy back on indexing threads to write segments. We're not submitting a task to the index threadpool because we want memory to
262262
// be reclaimed rapidly. This has the downside of increasing the latency of _bulk requests though. Lucene does the same thing in

0 commit comments

Comments
 (0)