Did solr.xml persistence brake?

2011-08-02 Thread Yury Kats
Hi, With the trunk build, running SolrCloud, if I issue a PERSIST CoreAdmin command, the solr.xml gets overwritten with only the last core, repeated as many times as there are cores. It used to work fine with a trunk build from a couple of months ago, so it looks like something broke solr.xml

Re: Did solr.xml persistence brake?

2011-08-02 Thread Yury Kats
On 8/2/2011 5:42 PM, Yury Kats wrote: It used to work fine with a trunk build from a couple of months ago, so it looks like something broke solr.xml persistence. Can it be related to SOLR-2331? Looking at the code, it does seem like a regression from SOLR-2331. CoreContainer#persistFile

Re: Did solr.xml persistence brake?

2011-08-02 Thread Chris Hostetter
: I opened SOLR-2691 to track and attached a patch. : : Would appreciate a quick look from a committer. Thanks! I'm not too familiar with that code, but i can definitely reproduce the bug ... i'll take a look at the existing tests and see if i can help out with your patch. -Hoss