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

Erick Erickson updated SOLR-4196:
---------------------------------

    Attachment: StressTest.zip
                SOLR-4196.patch

Mark:

But I _like_ underscores. Sigggh, I'll take them out. Haven't done the 
precommit thing yet since I'm not ready quite yet so I'm sure there are a bunch 
of things like javadocs.

Funny you should talk about stressing it, I spent most of the day working on 
exactly that, see below. I'm planning to let the stress test run all night 
tonight... 

Here's the latest version. 

I've also attached a test program that creates however many cores you want, 
then fires off indexing and query threads that use random cores. See the 
discussion in the StressTest.java file. It does do some recursive file deletes 
to clean the cores it created last time, but unless you have your directories 
names with SOLR4196 in them, you should be safe enough.

There's a whole lotta synchronization going on, I'm not especially comfortable 
with it all, but the fundamental difference is that the cores come and go far 
more rapidly than they used to. In fact I spent part of today chasing down a 
deadlock that would regularly appear after 20 minutes or so. The stress test 
ran for an hour no problem, but I'm going to run it all night tonight. But the 
cause I found really did look like it was a strong possibility, but whether 
there are _other_ gremlins out there I'm not sure.

There's one failing test at this point, I'm too bushed to chase it down tonight.
                
> Untangle XML-specific nature of Config and Container classes
> ------------------------------------------------------------
>
>                 Key: SOLR-4196
>                 URL: https://issues.apache.org/jira/browse/SOLR-4196
>             Project: Solr
>          Issue Type: Improvement
>          Components: Schema and Analysis
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Minor
>             Fix For: 4.2, 5.0
>
>         Attachments: SOLR-4196.patch, SOLR-4196.patch, SOLR-4196.patch, 
> SOLR-4196.patch, SOLR-4196.patch, SOLR-4196.patch, SOLR-4196.patch, 
> SOLR-4196.patch, SOLR-4196.patch, StressTest.zip
>
>
> sub-task for SOLR-4083. If we're going to try to obsolete solr.xml, we need 
> to pull all of the specific XML processing out of Config and Container. 
> Currently, we refer to xpaths all over the place. This JIRA is about 
> providing a thunking layer to isolate the XML-esque nature of solr.xml and 
> allow a simple properties file to be used instead which will lead, 
> eventually, to solr.xml going away.

--
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to