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 2017/05/09 15:35:04 UTC

[jira] [Closed] (SOLR-3661) RequestHandlerBase getStatistics method has atom problem

     [ https://issues.apache.org/jira/browse/SOLR-3661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christine Poerschke closed SOLR-3661.
-------------------------------------
    Resolution: Information Provided

Looks like this has been solved since including in the latest version e.g. https://github.com/apache/lucene-solr/blob/branch_6_5/solr/core/src/java/org/apache/solr/handler/RequestHandlerBase.java

> RequestHandlerBase getStatistics method has atom problem
> --------------------------------------------------------
>
>                 Key: SOLR-3661
>                 URL: https://issues.apache.org/jira/browse/SOLR-3661
>             Project: Solr
>          Issue Type: Bug
>          Components: SearchComponents - other
>    Affects Versions: 4.0-ALPHA
>            Reporter: oznyang
>
> class org.apache.solr.handler.RequestHandlerBase 
> volatile long numRequests;
> volatile long numErrors;
> volatile long numTimeouts;
> not use synchronize,so may be has concurrent problem
> Recommend to use AtomicLong to instead it



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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