HoustonPutman commented on issue #618: URL: https://github.com/apache/solr-operator/issues/618#issuecomment-1755683141
Maybe for v0.9.0. Using the roles API, it would be more feasible. We already do some defaulting when Pods are created (no API calls though). So it is feasible to add another defaulting method, which works with a readinessCondition. Basically when a pod is started, the `nodeRoleInitialized` readinessCondition will be empty. The operator would have code to say, while the Solr container is ready and the `nodeRoleInitialized` readinessCondition is empty, call the roles API. When the API call is successful, set the `nodeRoleInitialized` readinessCondition to true. That way we have a stateful and idempotent way of handling the API calls. How do you imagine this would be integrated into the SolrCloud CRD? -- 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-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org