SOLR cloud (5.2.1) recovery

2015-08-18 Thread Olivier Damiot
hello,

i'am a bit confused about how solr cloud recovery is supposed to work
exactly in the case of loosing a single node completely.

My 600 collections are created with
numShards=3replicationFactor=3maxShardsPerNode=3

However, how do i configure a new node to take the place of the dead
node, or if accidentally i delete the data dir ?

I bring up a new node which is completely empty (empty data dir),
install solr, and connect it to zookeeper.Is it supposed to work
automatically from there? All my shards/replicas on this node as down
(i suppose because there is no cores in data dir).

Do I need to recreate the cores first?

Can i copy/paste data directory from another node to this one ? I
think no because i should rename all variables in core.properties
which are dedicated for each node (like name or coreNodeName)

thanks,

Olivier Damiot


Leader election

2015-07-29 Thread Olivier Damiot
Hello everybody,

I use solr 5.2.1 and am having a big problem.
I have about 1200 collections, 3 shards, replicationfactor = 3,
MaxShardPerNode=3.
I have 3 boxes of 64G (32 JVM).
I have no problems with the creation of collection or indexing, but when I
lose a node (VMY full or kill) and I restart, all my collections are down.
I look in the logs I can see problems of leader election, eg:
  - Checking if I (core = test339_shard1_replica1, coreNodeName =
core_node5) shoulds try and be the leader.
- Cloud says we are still state leader.

I feel that all server pass the buck!

I do not understand this error especially as if I read the mailing list I
have the impression that this bug is solved long ago.

what should I do to start my collections properly?

Is someone could help me ?

thank you a lot

Olivier