Thanks Mark. I tried updating clusterstate manually, things went haywire J.
So to fix it, had to take 30secs-1min downtime where I stopped solr and zk,
deleted "/zookeeper_data/version-2" directory and restarted everything
again.

I have auotmated these commands via fabric, so was easily able to recover
from the downtime.

Thanks,
-Utkarsh


On Wed, Jan 22, 2014 at 3:18 PM, Mark Miller <markrmil...@gmail.com> wrote:

> Hopefully an issue that has been fixed then. We should look into that.
>
> You should be able to fix it by directly modifying the clusterstate.json
> in ZooKeeper. Remember to back it up first!
>
> There are a variety of tools you can use to work with ZooKeeper - I like
> the eclipse plug-in that you can google for.
>
> Many, many SolrCloud bug fixes (we are about to release 4.6.1) since 4.4,
> so you might consider an upgrade if possible at some point soon.
>
> - Mark
>
>
>
> On Jan 22, 2014, 6:14:10 PM, Utkarsh Sengar <utkarsh2...@gmail.com>
> wrote: solr 4.4.0
>
>
> On Wed, Jan 22, 2014 at 3:12 PM, Mark Miller <markrmil...@gmail.com>
> wrote:
>
> > What version of Solr are you running?
> >
> > - Mark
> >
> >
> >
> > On Jan 22, 2014, 5:42:30 PM, Utkarsh Sengar <utkarsh2...@gmail.com>
> > wrote: I am not sure what happened, I updated merchant collection and
> then
> > restarted all the solr machines.
> >
> > This is what I see right now: http://i.imgur.com/4bYuhaq.png
> >
> > merchant collection looks fine. But deals and prodinfo collections should
> > have a total of 3 shards. But someone shard1 has converted to replica of
> > shard2.
> >
> > This is running in production, so how can I fix it without dumping the
> > whole zk data?
> >
> > --
> > Thanks,
> > -Utkarsh
> >
>
>
>
> --
> Thanks,
> -Utkarsh
>



-- 
Thanks,
-Utkarsh

Reply via email to