[ 
https://issues.apache.org/jira/browse/SOLR-8033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16795939#comment-16795939
 ] 

ASF subversion and git services commented on SOLR-8033:
-------------------------------------------------------

Commit 9fea3060b928cae4a87c6da9895602ce075775a8 in lucene-solr's branch 
refs/heads/master from Kevin Risden
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=9fea306 ]

SOLR-8033: Remove debug if branch in HdfsTransactionLog

Signed-off-by: Kevin Risden <[email protected]>


> Remove debug if branch in HdfsTransactionLog
> --------------------------------------------
>
>                 Key: SOLR-8033
>                 URL: https://issues.apache.org/jira/browse/SOLR-8033
>             Project: Solr
>          Issue Type: Improvement
>          Components: Hadoop Integration, hdfs
>    Affects Versions: 5.0, 5.1
>            Reporter: songwanging
>            Assignee: Kevin Risden
>            Priority: Minor
>              Labels: newdev
>             Fix For: 8.1, master (9.0)
>
>         Attachments: SOLR-8033.patch
>
>
> 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) {
>         //log.debug("New TransactionLog file=" + tlogFile + ", exists=" + 
> tlogFile.exists() + ", size=" + tlogFile.length() + ", openExisting=" + 
> openExisting);
>       }
> ...
> }



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to