[
https://issues.apache.org/jira/browse/SOLR-8033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16795943#comment-16795943
]
ASF subversion and git services commented on SOLR-8033:
-------------------------------------------------------
Commit 105979fb4cf59391af3906ad7e1f1a60ef179988 in lucene-solr's branch
refs/heads/branch_8x from Kevin Risden
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=105979f ]
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]