Skip to content

Commit

Permalink
Add core name to logging of expungeDeletes action, and add logging wh…
Browse files Browse the repository at this point in the history
…en it completes
  • Loading branch information
timatbw authored and brandwatchsteve committed Mar 5, 2018
1 parent 79c8c9f commit 0a963ad
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -666,8 +666,9 @@ public void commit(CommitUpdateCommand cmd) throws IOException {
}
writer.forceMerge(cmd.maxOptimizeSegments);
} else if (cmd.expungeDeletes) {
log.warn("Starting expungeDeletes... Reading and rewriting segments with enough deletes, potentially the entire index");
log.warn("Starting expungeDeletes of " + core.getName() + " ... Reading and rewriting segments with enough deletes, potentially the entire index");
writer.forceMergeDeletes();
log.warn("Finished expungeDeletes of " + core.getName());
}

if (!cmd.softCommit) {
Expand Down

0 comments on commit 0a963ad

Please sign in to comment.