You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark S (JIRA)" <ji...@apache.org> on 2013/04/19 04:51:16 UTC

[jira] [Comment Edited] (SOLR-4733) Rollback does not work correctly with tlog and optimistic concurrency updates

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

Mark S edited comment on SOLR-4733 at 4/19/13 2:50 AM:
-------------------------------------------------------

Thanks for the comments, I definitely appreciate you taking the time.

My test case should be very self contained, and all that is required is the url of your Solr instance (Default value:  http://localhost:8080/solr/collection1) and JUnit on the classpath.  I should have mentioned that I am using a vanilla Solr deployment running inside of tomcat instance on Ubuntu.  As far as I recall, no schema changes or anything.

I try to keep my test bare bones to reduce confusion.  The test class I provided here is different from the test class I provided SOLR-4605.   The SolrJBeanTest here has only three test methods: "addBeanTest()", "addBeanThenRollbackTest()" and "addBeanThenRollbackThenAddBeanThenRollbackTest()".  I included the first two method tests as a system and configuration check, with the 3rd test method "addBeanThenRollbackThenAddBeanThenRollbackTest()" as a means to highlight the problem.

                
      was (Author: marks1900):
    Thanks for the comments, I definitely appreciate the you taking the time.

My test case should be very self contained, and all that is required is the url of your Solr instance (Default value:  http://localhost:8080/solr/collection1) and JUnit on the classpath.  I should have mentioned that I am using a vanilla Solr deployment running inside of tomcat instance on Ubuntu.  As far as I recall, no schema changes or anything.

I try to keep my test bare bones to reduce confusion.  The test class I provided here is different from the test class I provided SOLR-4605.   The SolrJBeanTest here has only three test methods: "addBeanTest()", "addBeanThenRollbackTest()" and "addBeanThenRollbackThenAddBeanThenRollbackTest()".  I included the first two method tests as a system and configuration check, with the 3rd test method "addBeanThenRollbackThenAddBeanThenRollbackTest()" as a means to highlight the problem.

                  
> 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