Koji Sekiguchi wrote:
> Hello,
>
> I found that rollback resets adds and docsPending count,
> but doesn't reset cumulative_adds.
>
> $ cd example/exampledocs
> # comment out the line of <commit/> so avoid committing in post.sh
> $ ./post.sh *.xml
> => docsPending=19, adds=19, cumulative_adds=19
>
> # do rollback
> $ curl http://localhost:8983/solr/update?rollback=true
> => rollbacks=1, docsPending=0, adds=0, cumulative_adds=19
>
> Is this correct behavior?
>
> Koji
>
>   
(forwarded dev list)

I think this is a bug that was introduced by me when I contributed
the first patch for the rollback and the bug was inherited by
the successive patches. I'll reopen SOLR-670 and attach the fix soon:

https://issues.apache.org/jira/browse/SOLR-670

Koji
-- 

http://www.rondhuit.com/


Reply via email to