Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.0, 5.1
Description
In method HdfsTransactionLog() of class HdfsTransactionLog (solr\core\src\java\org\apache\solr\update\HdfsTransactionLog.java)
The if branch presented in the following code snippet performs no actions, we should add more code to handle this or directly delete this if branch.
HdfsTransactionLog(FileSystem fs, Path tlogFile, Collection<String> globalStrings, boolean openExisting) {
...
try {
if (debug)
...
}