-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NCBC-1291: Reactivate search nodes after failure
Motivation ---------- Once a search node is marked as failed, it is never reactivated and cannot be used by the client. Modifications ------------- When all search nodes are marked as failed, clear the failure on all nodes before selecting a node. Move failure threshold magic number to a constant. Results ------- If all search nodes get flagged as failed, then it will retry them all to see if any are functional again. This is not a complete fix, as a node will not be reactivated until all search nodes have failed or there is a config change (i.e. rebalance). Change-Id: I73974988c923a8999d691ec2d4e49cfbfdeafb85 Reviewed-on: http://review.couchbase.org/73277 Reviewed-by: Jeffry Morris <jeffrymorris@gmail.com> Tested-by: Jeffry Morris <jeffrymorris@gmail.com>
- Loading branch information
1 parent
5b30915
commit 1bd5e49
Showing
2 changed files
with
95 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters