You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by kr...@apache.org on 2019/03/19 10:21:06 UTC

[lucene-solr] branch branch_8x updated: SOLR-8033: Remove debug if branch in HdfsTransactionLog

This is an automated email from the ASF dual-hosted git repository.

krisden pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new 105979f  SOLR-8033: Remove debug if branch in HdfsTransactionLog
105979f is described below

commit 105979fb4cf59391af3906ad7e1f1a60ef179988
Author: Kevin Risden <kr...@apache.org>
AuthorDate: Tue Mar 19 06:07:05 2019 -0400

    SOLR-8033: Remove debug if branch in HdfsTransactionLog
    
    Signed-off-by: Kevin Risden <kr...@apache.org>
---
 solr/CHANGES.txt                                                  | 2 ++
 solr/core/src/java/org/apache/solr/update/HdfsTransactionLog.java | 3 ---
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index f08cc94..56359dc 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -146,6 +146,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 8ed7d7a..75e3508 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) {