Write an info to the log when a change gets deleted from the index

This is helpful to investigate issues where a change is unexpectedly
deleted from the index.

Change-Id: Ic9d559c6f72fcc36b1c13e32fde95b68a6ef4de3
This commit is contained in:
Edwin Kempin
2016-11-03 15:13:40 +01:00
parent 57b91a3a87
commit 956a89404c

View File

@@ -337,6 +337,7 @@ public class ChangeIndexer {
for (ChangeIndex i : getWriteIndexes()) {
i.delete(id);
}
log.info("Deleted change {} from index.", id.get());
fireChangeDeletedFromIndexEvent(id.get());
return null;
}