mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 08:26:15 +00:00
Minor
This commit is contained in:
parent
bcefce9080
commit
b7845f9af0
@ -662,11 +662,11 @@ public class Server {
|
|||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
/*
|
/*
|
||||||
NOTE: It has been noticed that sometimes Solr throws an exception
|
NOTE: It has been noticed that in rare cases Solr throws an exception
|
||||||
when trying to open a core on a network drive because it thinks that
|
when trying to open a core that is stored on a network drive because
|
||||||
some files are missing in the index folder. Same core is observed to
|
it thinks that some files are missing in the index folder. Same core is observed to
|
||||||
be successfully opened just seconds later by other Autopsy instances.
|
be successfully opened just seconds later by other Autopsy instances.
|
||||||
Therefore this re-try is being added to hopefully mitigate that (see JIRA-2941)
|
Therefore a re-try is being added to hopefully mitigate this (see JIRA-2941)
|
||||||
*/
|
*/
|
||||||
logger.log(Level.WARNING, "Unable to open Solr core in " + index.getIndexPath() + ", re-trying", ex);
|
logger.log(Level.WARNING, "Unable to open Solr core in " + index.getIndexPath() + ", re-trying", ex);
|
||||||
Thread.sleep(TIME_TO_SLEEP_BETWEEN_RETIES_MILLISECODS);
|
Thread.sleep(TIME_TO_SLEEP_BETWEEN_RETIES_MILLISECODS);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user