File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
server/src/main/java/org/elasticsearch/indices Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments