Git Product home page Git Product logo

Comments (5)

HoustonPutman avatar HoustonPutman commented on July 3, 2024

Follow this ticket for a better status handler for Solr. https://issues.apache.org/jira/browse/SOLR-14210?filter=-3

Knowing that this will only work for certain versions of Solr (8.5+), we will likely need to have a parameter to allow for disabling of this check for unsupported Solr versions.

from solr-operator.

janhoy avatar janhoy commented on July 3, 2024

What happens with e.g. a version upgrade if there is only one pod? Downtime?
Or if there are multiple pods, but a collection has replicationFactor=1 - will that collection be unavailable during upgrade? Or some magic that increases rf during upgrade?

from solr-operator.

janhoy avatar janhoy commented on July 3, 2024

This will be released in 8.6. The new parameter is /api/node/health?requireHealthyCores=true. On pre-8.6 versions, adding this parameter will not throw an error, but the health check will return OK even if cores are recovering.

from solr-operator.

HoustonPutman avatar HoustonPutman commented on July 3, 2024

yes, we should definitely add that by default when using the /api/node/health handler. Unfortunately that handler is only available for solr 8+, so we will likely need a parameter in the CRD that allows for a backwards compatible health check endpoint.

from solr-operator.

HoustonPutman avatar HoustonPutman commented on July 3, 2024

Also sorry for missing your previous question, I thought I had responded. Since we are using a StatefulSet, there should be downtime unfortunately. Though we could definitely add in our own magic to make that work. I think we need some architectural discussions around upgrades/rolling restarts in general.

from solr-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.