You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shai Erera (JIRA)" <ji...@apache.org> on 2012/12/03 13:43:58 UTC
[jira] [Created] (SOLR-4139) TestReplicationHandler fails if
preventDoubleWrite is enabled in MockDirectoryWrapper
Shai Erera created SOLR-4139:
--------------------------------
Summary: TestReplicationHandler fails if preventDoubleWrite is enabled in MockDirectoryWrapper
Key: SOLR-4139
URL: https://issues.apache.org/jira/browse/SOLR-4139
Project: Solr
Issue Type: Bug
Reporter: Shai Erera
Currently, if preventDoubleWrite is enabled in MockDirectoryWrapper, TestReplicationHandler fails with this exception:
{noformat}
[junit4:junit4] 2> Caused by: java.io.IOException: file
"index.properties" was already written to
[junit4:junit4] 2> at
org.apache.lucene.store.MockDirectoryWrapper.createOutput(MockDirectoryWrapper.java:411)
[junit4:junit4] 2> at
org.apache.solr.handler.SnapPuller.modifyIndexProps(SnapPuller.java:872)
[junit4:junit4] 2> ... 11 more
{noformat}
I diabled that setting in MockDirectoryFactory, but I suggest that someone who understands the code better have a look at it.
--
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