lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-7007) DistributedUpdateProcessor logs replay status as int instead of boolean
Date Thu, 20 Aug 2015 20:22:45 GMT

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

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

Commit 1696853 from [~cpoerschke] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1696853 ]

SOLR-7007: DistributedUpdateProcessor now logs replay flag as boolean instead of int (merge
in revision 1696852 from trunk)

> DistributedUpdateProcessor logs replay status as int instead of boolean
> -----------------------------------------------------------------------
>
>                 Key: SOLR-7007
>                 URL: https://issues.apache.org/jira/browse/SOLR-7007
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 4.10.3
>            Reporter: Mike Drob
>            Assignee: Christine Poerschke
>            Priority: Trivial
>              Labels: logging
>         Attachments: SOLR-7007.patch
>
>
> When logging the following line:
> {code:title=DistributedUpdateProcessor.java}
>         log.info("Ignoring commit while not ACTIVE - state: " + ulog.getState() + " replay:"
+ (cmd.getFlags() & UpdateCommand.REPLAY));
> {code}
> We display the value of the replay flag as an int instead of a boolean. This can erroneously
lead operators to believe that it is a counter instead of a flag when all they see is the
log.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message