Sounds like a bug - we probably don't have a test that updates a link - if you can make a JIRA issue, I'll be happy to look into it soon.
- Mark On Jun 4, 2013, at 8:16 AM, Shawn Heisey <s...@elyograg.org> wrote: > I've got Solr 4.2.1 running SolrCloud. I need to change the config set > associated with a collection. I'm having a problem with this. Here's > the command that I'm running, domain name redacted: > > /opt/mbsolr4/cloud-scripts/zkcli.sh -cp > "/opt/mbsolr4/lib/ext/slf4j-api-1.7.2.jar:/opt/mbsolr4/lib/ext/slf4j-log4j12-1.7.2.jar" > -z > "mbzoo1.REDACTED.com:2181,mbzoo2.REDACTED.com:2181,mbzoo3.REDACTED.com:2181/mbsolr1" > -collection twotest -confname mbtestcfg -cmd linkconfig > > Here's part of the resulting log: > > Jun 04, 2013 9:08:44 AM org.apache.solr.cloud.ZkController linkConfSet > INFO: Load collection config from:/collections/p > Jun 04, 2013 9:08:44 AM org.apache.solr.common.cloud.SolrZkClient makePath > INFO: makePath: /collections/p > > It partially creates a new collection named "p", which is not referenced > on my commandline. This partial collection IS linked to the config set > that I referenced. The same thing happens if I use -c and -n instead of > -collection and -confname. > > Am I doing something wrong, or is this a bug? Will I need to recreate > the collection as a workaround? > > Thanks, > Shawn >