Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-8033: Remove debug if branch in HdfsTransactionLog

Kevin Risden9fea3060b928
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index bdb73509f04..1fca619d79e 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -160,6 +160,8 @@ Other Changes
* SOLR-13330: Improve HDFS tests (Kevin Risden)
+* SOLR-8033: Remove debug if branch in HdfsTransactionLog (Kevin Risden)
+
================== 8.0.0 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
diff --git a/solr/core/src/java/org/apache/solr/update/HdfsTransactionLog.java b/solr/core/src/java/org/apache/solr/update/HdfsTransactionLog.java
index 8ed7d7ad65a..75e350851e9 100644
--- a/solr/core/src/java/org/apache/solr/update/HdfsTransactionLog.java
+++ b/solr/core/src/java/org/apache/solr/update/HdfsTransactionLog.java
@@ -82,9 +82,6 @@ public class HdfsTransactionLog extends TransactionLog {
this.fs = fs;
try {
- if (debug) {
- //log.debug("New TransactionLog file=" + tlogFile + ", exists=" + tlogFile.exists() + ", size=" + tlogFile.length() + ", openExisting=" + openExisting);
- }
this.tlogFile = tlogFile;
if (fs.exists(tlogFile) && openExisting) {