https://bugzilla.wikimedia.org/show_bug.cgi?id=55467

Nik Everett <neverett+bugzi...@wikimedia.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |High
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #5 from Nik Everett <neverett+bugzi...@wikimedia.org> ---
I've got it!

A few weeks ago we changed the default number of replicas from 1 to 2 so we
could have more redundancy during updates.  Which is cool and all, but when you
have a single node elasticsearch you can't have _any_replicas.

The reason it was working before is that we are using elasticsearch's default
write consistency: quorum.  My guess is quorum let the write through when the
master was up but the other shards weren't.

You can work around this by adding this to your LocalSettings:
$wgCirrusSearchContentReplicaCount = array( 'content' => 0, 'general' => 0 );


We're going to make that the default and add a note to the readme about
changing it for production use.  That commit will go in later on today.

I'm going to usurp this bug to make the error message better.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to