On 1/27/2016 8:59 AM, David Smith wrote:
> So we definitely don’t have CP yet — our very first network outage resulted 
> in multiple overlapped lost updates.  As a result, I can’t pick one replica 
> and make it the new “master”.  I must rebuild this collection from scratch, 
> which I can do, but that requires downtime which is a problem in our app 
> (24/7 High Availability with few maintenance windows).

I don't have anything to add regarding the initial problem or how you
can prevent it from happening again.  You're already on the latest minor
Solr version (5.4), though I think you could probably upgrade to 5.4.1. 
The list of bugfixes for 5.4.1 does not seem to include anything that
could explain the problem you have described.  There is SOLR-8496, but
that only affects multi-select faceting, not the numDoc counts on the
core summary screen.

For the specific issue mentioned above (rebuilding without downtime),
what I would recommend that you do is build an entirely new collection,
then delete the old one and create an alias to the new collection using
the old collection's name.  Deleting the old collection and making the
alias should happen very quickly.

I don't think any documentation states this, but it seems like a good
idea to me use an alias from day one, so that you always have the option
of swapping the "real" collection that you are using without needing to
change anything else.  I'll need to ask some people if they think this
is a good documentation addition, and think of a good place to mention
it in the reference guide.

Thanks,
Shawn

Reply via email to