Can you explain a little more how you doing this? How are you bringing the cores down and then back up? Shutting down a full solr instance, unloading the core?
On Feb 10, 2012, at 9:33 AM, Jamie Johnson wrote: > I know that the latest Solr Cloud doesn't use standard replication but > I have a question about how it appears to be working. I currently > have the following cluster state > > {"collection1":{ > "slice1":{ > "JamiesMac.local:8501_solr_slice1_shard1":{ > "shard_id":"slice1", > "state":"active", > "core":"slice1_shard1", > "collection":"collection1", > "node_name":"JamiesMac.local:8501_solr", > "base_url":"http://JamiesMac.local:8501/solr"}, > "JamiesMac.local:8502_solr_slice1_shard2":{ > "shard_id":"slice1", > "state":"active", > "core":"slice1_shard2", > "collection":"collection1", > "node_name":"JamiesMac.local:8502_solr", > "base_url":"http://JamiesMac.local:8502/solr"}, > "jamiesmac:8501_solr_slice1_shard1":{ > "shard_id":"slice1", > "state":"down", > "core":"slice1_shard1", > "collection":"collection1", > "node_name":"jamiesmac:8501_solr", > "base_url":"http://jamiesmac:8501/solr"}, > "jamiesmac:8502_solr_slice1_shard2":{ > "shard_id":"slice1", > "leader":"true", > "state":"active", > "core":"slice1_shard2", > "collection":"collection1", > "node_name":"jamiesmac:8502_solr", > "base_url":"http://jamiesmac:8502/solr"}}, > "slice2":{ > "JamiesMac.local:8501_solr_slice2_shard2":{ > "shard_id":"slice2", > "state":"active", > "core":"slice2_shard2", > "collection":"collection1", > "node_name":"JamiesMac.local:8501_solr", > "base_url":"http://JamiesMac.local:8501/solr"}, > "JamiesMac.local:8502_solr_slice2_shard1":{ > "shard_id":"slice2", > "state":"active", > "core":"slice2_shard1", > "collection":"collection1", > "node_name":"JamiesMac.local:8502_solr", > "base_url":"http://JamiesMac.local:8502/solr"}, > "jamiesmac:8501_solr_slice2_shard2":{ > "shard_id":"slice2", > "state":"down", > "core":"slice2_shard2", > "collection":"collection1", > "node_name":"jamiesmac:8501_solr", > "base_url":"http://jamiesmac:8501/solr"}, > "jamiesmac:8502_solr_slice2_shard1":{ > "shard_id":"slice2", > "leader":"true", > "state":"active", > "core":"slice2_shard1", > "collection":"collection1", > "node_name":"jamiesmac:8502_solr", > "base_url":"http://jamiesmac:8502/solr"}}}} > > I then added some docs to the following shards using SolrJ > http://localhost:8502/solr/slice2_shard1 > http://localhost:8502/solr/slice1_shard2 > > I then bring back up the other cores and I don't see replication > happening. Looking at the stats for each core I see that on the 8501 > instance (the instance that was off) the number of docs is 0, so I've > clearly set something up incorrectly. Any help on this would be > greatly appreciated. - Mark Miller lucidimagination.com