[
https://issues.apache.org/jira/browse/SOLR-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416402#comment-13416402
]
Mark Miller edited comment on SOLR-3632 at 7/17/12 5:57 PM:
------------------------------------------------------------
*edits*
Think I finally see what happens - it's perhaps mainly a test issue. After we
start solr for a test, we count on the things like the datadir being resolved
*via a system property* - then we reset that *system property after starting
solr* so we can use it for the next solr instance we start.
This can end up being a problem for reload. *We end up resolving again and the
system property was not consistent* I think for this particular issue the best
workaround is the one I mention above - explicitly pass the dataDir that was
detected at core started rather than doing any re resolving?
You lose the ability to update the data dir with a core reload though...that
could be considered an odd feature to support though?
Probably not worth it for a test issue - not sure how to fix the tests though...
was (Author: [email protected]):
Think I finally see what happens - it's perhaps mainly a test issue. After
we start solr for a test, we count on the things like the datadir being
resolved - then we reset it so we can use it for the next solr instance we
start.
This can end up being a problem for reload. I think for this particular issue
the best workaround is the one I mention above - explicitly pass the dataDir
that was detected at core started rather than doing any re resolving?
You lose the ability to update the data dir with a core reload though...though
could be considered an odd feature to support though?
> You can end up with the wrong dataDir when reloading a SolrCore.
> ----------------------------------------------------------------
>
> Key: SOLR-3632
> URL: https://issues.apache.org/jira/browse/SOLR-3632
> Project: Solr
> Issue Type: Bug
> Reporter: Mark Miller
> Assignee: Mark Miller
> Fix For: 4.0, 5.0
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]