File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
server/src/main/java/org/elasticsearch/index/shard Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,8 @@ IndexingStats.Stats stats(
211211 final long totalIndexingTimeSinceShardStartedInNanos = totalIndexingTimeInNanos - indexingTimeBeforeShardStartedInNanos ;
212212 // This is different from indexing time as it also includes the
213213 final long totalIndexingExecutionTimeInNanos = totalIndexingTimeInNanos + writeIndexingBufferTime .sum ();
214- final long totalIndexingExecutionTimeSinceShardStartedInNanos = totalIndexingExecutionTimeInNanos - indexingLoadBeforeShardStartedInNanos ;
214+ final long totalIndexingExecutionTimeSinceShardStartedInNanos = totalIndexingExecutionTimeInNanos
215+ - indexingLoadBeforeShardStartedInNanos ;
215216 final double recentIndexingLoadSinceShardStarted = recentIndexMetric .calculateRateSince (
216217 currentTimeInNanos ,
217218 recentIndexMetric .getRate (currentTimeInNanos ),
You can’t perform that action at this time.
0 commit comments