lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-4733) Rollback does not work correctly with tlog and optimistic concurrency updates
Date Fri, 19 Apr 2013 02:33:15 GMT

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

Hoss Man updated SOLR-4733:
---------------------------

    Attachment: SOLR-4733.patch

patch demonstrating the crux of Mark's reported failure as an extension of existing tests....

* general improvement to BasicFunctionalityTest setup to randomize use of tlog for the whole
class
* new BasicFunctionalityTest.testRollbackWithOptimisticConcurrency that covers the basics
of this issue (leveraging the randomized use of tlog)
* new TestUpdate.testRollbackWithOptimisticConcurrency that always uses tlog and goes more
in depth into verifying that the optimistic concurrency update logic is rolled back properly.

As things stand, the new BasicFunctionalityTest test fails 50% of the time (if and only if
tlog is used) and the new TestUpdate test fails consistently.
                
> Rollback does not work correctly with tlog and optimistic concurrency updates
> -----------------------------------------------------------------------------
>
>                 Key: SOLR-4733
>                 URL: https://issues.apache.org/jira/browse/SOLR-4733
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.2.1
>         Environment: Ubuntu 12.04.2 LTS
>            Reporter: Mark S
>              Labels: solrj
>         Attachments: SOLR-4733.patch
>
>
> When using the updateLog, attempting to rollback atomic updates still causes post-rollback
atomic updates to still report a conflict with the version assigned to the update posted prior
to the rollback

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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