lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2697) commit and autocommit operations don't reset DirectUpdateHandler2.numDocsPending stats attribute
Date Thu, 04 Aug 2011 12:35:27 GMT

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

Mark Miller commented on SOLR-2697:
-----------------------------------

Hmm...I actually noticed this a week or two ago, but thought it was likely an existing issue
from back when Solr tried to handle more of this type of tracking/buffering. I forgot about
it before making an issue.

But you are right - previously this was reset in the close writer method...but we no longer
close the writer on commit.

> commit and autocommit operations don't reset DirectUpdateHandler2.numDocsPending stats
attribute
> ------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2697
>                 URL: https://issues.apache.org/jira/browse/SOLR-2697
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>    Affects Versions: 3.4, 4.0
>            Reporter: Alexey Serba
>            Priority: Minor
>         Attachments: SolrIndexOperations.png, UpdateHandlerDocsPending.png
>
>
> commit and autocommit operations don't reset DirectUpdateHandler2.numDocsPending stats
attribute (see attached screenshots)
> I believe this regression was caused by DUH2 refactorings (near realtime, etc). See commit
https://github.com/apache/lucene-solr/commit/ffd9c717448eca895d19be8ee9718bc399ac34a7#diff-18

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message