You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (JIRA)" <ji...@apache.org> on 2015/08/20 22:27:47 UTC
[jira] [Resolved] (SOLR-7007) DistributedUpdateProcessor logs
replay status as int instead of boolean
[ https://issues.apache.org/jira/browse/SOLR-7007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christine Poerschke resolved SOLR-7007.
---------------------------------------
Resolution: Fixed
Fix Version/s: 5.4
Trunk
Thanks Mike!
> 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
> Fix For: Trunk, 5.4
>
> 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