Description
SOLR-8587 added segments file information and its size to core admin status API. However in case of stale commits, calling that API may result on FileNotFoundException or NoSuchFileException, if the segments file no longer exists due to a new commit. We should fix that by returning a proper value for the file's length in this case, maybe -1.
Attachments
Attachments
Issue Links
- is related to
-
SOLR-9120 LukeRequestHandler logs WARN "Error getting file length for [segments_NNN]" for inconsequential NoSuchFileException situations -- looks scary but is not a problem, logging should be reduced
- Closed