You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "HoustonPutman (via GitHub)" <gi...@apache.org> on 2023/05/31 14:57:40 UTC

[GitHub] [solr-operator] HoustonPutman opened a new pull request, #575: Add managed scaleUp for SolrClouds

HoustonPutman opened a new pull request, #575:
URL: https://github.com/apache/solr-operator/pull/575

   Resolves #567 
   
   TODO:
   
   - [ ] Add option to CRD (opt-out, since we are going to do a NO-OP if the API is unavailable)
   - [ ] Add a cluster-op-lock for `scaleDown`
   - [ ] Implement the scaleDown operation (both managed and unmanaged)
   - [ ] Integration tests
   - [ ] Documentation
   - [ ] Helm chart option
   - [ ] Changelog entry
   
   ### Cluster Locking
   This is a new lockable clusterOperation as described in #560, and it also changes the scale-down behavior to use its own lock, instead of using a generic "scaling" lock. This is necessary since the scale-down and scale-up logic is very different, and the operator needs to be sure which operation it is trying to accomplish.
   
   ### Solr Version Compatibility
   This feature also requires a new API in Solr: https://issues.apache.org/jira/browse/SOLR-16806, a BalanceReplicas API. This is the first V2 API that the Solr Operator will use.
   Since the earliest this API will be supported in Solr is 9.3, we need to fail gracefully if the Solr version the user is running does not support this API.
   The easiest way is to make it opt-in, however given the cluster-locking code we have introduced, we could get in a state where the lock is never given up if the user accidentally opts-in to the feature with an unsupported Solr version.
   Instead we should try to catch an "unsupported API error" and just do a NO-OP instead.
   
   This is going to be tricky in the integration tests, since we don't know if the Solr version provided will support the API. Ideally we would test that the replicas are spread out after the scale-up, but we can't be sure that they will be.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


[GitHub] [solr-operator] HoustonPutman merged pull request #575: Add managed scaleUp for SolrClouds

Posted by "HoustonPutman (via GitHub)" <gi...@apache.org>.
HoustonPutman merged PR #575:
URL: https://github.com/apache/solr-operator/pull/575


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org