Hi all, after Mark Miller made it clear to me that 5x is supporting cloud with ramdir, I have started playing with it and it seemed working smoothly, except a weird behaviour.. here is the story of it:
Basically, I have pulled the code and built solr 5x, and the replace the war file in webapps dir of my current installation... then i have started my zookeeper servers.. after that i have started solr instances with the params below: java -Djetty.port=7574 -DzkHost=zkserver2:2182 -jar start.jar (running on a remote machine) java -Dbootstrap_conf=true -DzkHost=zkserver1:2181 -jar start.jar (running on local) after both of them are up, i have indexed some docs, and both of the solr instances were updated succesfully. after this point, i have killed one of the solr (running on remote, not leader) and then restarted it again. there was no errors in the log and everything seemed normal in the logs... however, when i have checked the web interface for the one i have restarted it showed 0 docs.. after that I ran q=*:* few times... and thats the point which surprises me... randomly it returned 0 results and then it returned correct numbers.. each time i make the same query, i get an empty result set randomly... I have no idea why this is happening here is the logs for the one running on remote (which was restarted) Nov 20, 2012 11:32:11 AM org.apache.solr.core.SolrCore execute INFO: [collection1] webapp=/solr path=/select params={distrib=false&wt=javabin&rows=10&version=2&df=text&fl=id,score&shard.url=10.60.0.54:8983/solr/collection1/|remote:7574/solr/collection1/&NOW=1353382331589&start=0&q=*:*&isShard=true&fsv=true} hits=0 status=0 QTime=0 Nov 20, 2012 11:32:11 AM org.apache.solr.core.SolrCore execute INFO: [collection1] webapp=/solr path=/select params={wt=xml&q=*:*} hits=0 status=0 QTime=7 Nov 20, 2012 11:32:22 AM org.apache.solr.core.SolrCore execute INFO: [collection1] webapp=/solr path=/select params={distrib=false&wt=javabin&rows=10&version=2&df=text&fl=id,score&shard.url=10.60.0.54:8983/solr/collection1/|remote:7574/solr/collection1/&NOW=1353382342238&start=0&q=*:*&isShard=true&fsv=true} hits=0 status=0 QTime=0 Nov 20, 2012 11:32:22 AM org.apache.solr.core.SolrCore execute INFO: [collection1] webapp=/solr path=/select params={wt=xml&q=*:*} hits=0 status=0 QTime=7 Nov 20, 2012 11:32:27 AM org.apache.solr.core.SolrCore execute INFO: [collection1] webapp=/solr path=/select params={distrib=false&wt=javabin&rows=10&version=2&df=text&fl=id,score&shard.url=10.60.0.54:8983/solr/collection1/|remote:7574/solr/collection1/&NOW=1353382347438&start=0&q=*:*&isShard=true&fsv=true} hits=0 status=0 QTime=0 Nov 20, 2012 11:32:27 AM org.apache.solr.core.SolrCore execute INFO: [collection1] webapp=/solr path=/select params={wt=xml&q=*:*} hits=0 status=0 QTime=14 Nov 20, 2012 11:32:28 AM org.apache.solr.core.SolrCore execute INFO: [collection1] webapp=/solr path=/select params={distrib=false&wt=javabin&rows=10&version=2&df=text&fl=id,score&shard.url=10.60.0.54:8983/solr/collection1/|remote:7574/solr/collection1/&NOW=1353382348255&start=0&q=*:*&isShard=true&fsv=true} hits=0 status=0 QTime=1 Nov 20, 2012 11:32:28 AM org.apache.solr.core.SolrCore execute INFO: [collection1] webapp=/solr path=/select params={wt=xml&q=*:*} hits=0 status=0 QTime=7 Nov 20, 2012 11:32:28 AM org.apache.solr.core.SolrCore execute INFO: [collection1] webapp=/solr path=/select params={wt=xml&q=*:*} hits=32 status=0 QTime=14 and for the same query, here is the log, from my local (leader, not restarted) Nov 20, 2012 11:31:46 AM org.apache.solr.core.SolrCore execute INFO: [collection1] webapp=/solr path=/select params={distrib=false&wt=javabin&rows=10&version=2&df=text&fl=id,score&shard.url=localhost:8983/solr/collection1/|remoteserver:7574/solr/collection1/&NOW=1353382306472&start=0&q=*:*&isShard=true&fsv=true} hits=32 status=0 QTime=0 Nov 20, 2012 11:31:46 AM org.apache.solr.core.SolrCore execute INFO: [collection1] webapp=/solr path=/select params={df=text&shard.url=localhost:8983/solr/collection1/|remoteserver:7574/solr/collection1/&NOW=1353382306472&q=*:*&ids=SP2514N,GB18030TEST,apple,F8V7067-APL-KIT,adata,6H500F0,MA147LL/A,ati,IW-02,asus&distrib=false&isShard=true&wt=javabin&rows=10&version=2} status=0 QTime=1 Nov 20, 2012 11:32:00 AM org.apache.solr.core.SolrCore execute INFO: [collection1] webapp=/solr path=/select params={distrib=false&wt=javabin&rows=10&version=2&df=text&fl=id,score&shard.url=localhost:8983/solr/collection1/|remoteserver:7574/solr/collection1/&NOW=1353382320738&start=0&q=*:*&isShard=true&fsv=true} hits=32 status=0 QTime=0 Nov 20, 2012 11:32:00 AM org.apache.solr.core.SolrCore execute INFO: [collection1] webapp=/solr path=/select params={df=text&shard.url=localhost:8983/solr/collection1/|remoteserver:7574/solr/collection1/&NOW=1353382320738&q=*:*&ids=SP2514N,GB18030TEST,apple,F8V7067-APL-KIT,adata,6H500F0,MA147LL/A,ati,IW-02,asus&distrib=false&isShard=true&wt=javabin&rows=10&version=2} status=0 QTime=1 Nov 20, 2012 11:32:28 AM org.apache.solr.core.SolrCore execute INFO: [collection1] webapp=/solr path=/select params={distrib=false&wt=javabin&rows=10&version=2&df=text&fl=id,score&shard.url=localhost:8983/solr/collection1/|remoteserver:7574/solr/collection1/&NOW=1353382348822&start=0&q=*:*&isShard=true&fsv=true} hits=32 status=0 QTime=0 Nov 20, 2012 11:32:28 AM org.apache.solr.core.SolrCore execute INFO: [collection1] webapp=/solr path=/select params={df=text&shard.url=localhost:8983/solr/collection1/|remoteserver:7574/solr/collection1/&NOW=1353382348822&q=*:*&ids=SP2514N,GB18030TEST,apple,F8V7067-APL-KIT,adata,6H500F0,MA147LL/A,ati,IW-02,asus&distrib=false&isShard=true&wt=javabin&rows=10&version=2} status=0 QTime=1 any ideas? ----- Zeki ama calismiyor... Calissa yapar... -- View this message in context: http://lucene.472066.n3.nabble.com/Weird-Behaviour-on-Solr-5x-SolrCloud-tp4021219.html Sent from the Solr - User mailing list archive at Nabble.com.