lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-1469) TestReplicationHandler failure
Date Mon, 02 Aug 2010 14:46:16 GMT

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

Yonik Seeley updated SOLR-1469:
-------------------------------

    Attachment: SOLR-1469.patch

OK, here's a patch that fixes some issues.
- To avoid the commit() in setUp() causing an unwanted replication event, it now first queries
the master and if  there are any docs it deletes the index on the master and waits for that
to replicate to the slave.
- I moved testReplicateAfterWrite2Slave up in the file so it will run before anything that
changes the default server configs (this gets around the problem where it was only replicating
on startup)
- I added some test code at the end of  testReplicateAfterWrite2Slave to ensure that the correct
index was replicated

> TestReplicationHandler failure
> ------------------------------
>
>                 Key: SOLR-1469
>                 URL: https://issues.apache.org/jira/browse/SOLR-1469
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>         Attachments: fail1.txt, SOLR-1469.patch, TestReplicationHandler.FAILED.210743
>
>
> TestReplicationHandler seems to fail often.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message