Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
In a given cluster it is possible that some policy rules are broken (a violation) and Solr cannot make any suggestion without breaking any rules. In such a scenario, The suggestion framework would perform the following steps
- Check if there are violations and try to make suggestions to existing nodes, if not possible
- Simulate addition of a new extra node
- Go to step #1 assuming this simulated node is present in the list of nodes
- There are 3 possibilities
- The violation is completely gone
- The violation has become less serious
- The violation has not come down or it has become more serious
- In case of #4.1 recommend to add a single node (or multiple nodes depending upon the no:of evaluations). Present a suggestion with
- The list of violations. It contains information the policy rule and the actual node/replica that is causing violation
#*No:of nodes to be added
- The list of violations. It contains information the policy rule and the actual node/replica that is causing violation
- In case of #4.1 it may mean that adding more nodes can help improve the situation , So Go to step #2
- In case of #4.3 this violation is not not solvable. present a suggestion with the following information
- The list of violations. It contains information the policy rule and the actual node/replica that is causing violation
- A message to review the policy rules