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 @@ -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
You can’t perform that action at this time.
0 commit comments