Skip to content

Commit 917a03d

Browse files
authored
remove unused field
1 parent 0ce8448 commit 917a03d

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
@@ -244,15 +244,15 @@ protected void deactivateThrottling(IndexShard shard) {
244244

245245
@Override
246246
public void postIndex(ShardId shardId, Engine.Index index, Engine.IndexResult result) {
247-
postOperation(shardId, index, result);
247+
postOperation(index, result);
248248
}
249249

250250
@Override
251251
public void postDelete(ShardId shardId, Engine.Delete delete, Engine.DeleteResult result) {
252-
postOperation(shardId, delete, result);
252+
postOperation(delete, result);
253253
}
254254

255-
private void postOperation(ShardId shardId, Engine.Operation operation, Engine.Result result) {
255+
private void postOperation(Engine.Operation operation, Engine.Result result) {
256256
recordOperationBytes(operation, result);
257257
// Piggy back on indexing threads to write segments. We're not submitting a task to the index threadpool because we want memory to
258258
// 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)