ebi-gene-expression-group / atlas-web-single-cell

Single Cell Expression Atlas web application
Apache License 2.0
5 stars 5 forks source link

Bugfix – Solr health endpoint reports Solr to be down even though replicas are active #337

Closed alfonsomunozpomer closed 1 year ago

alfonsomunozpomer commented 1 year ago

Our SolrCloudHealthService was fine when we had no replicas, but that’s no longer the case. Besides the change in the logic I needed to update Mockito to v5.2 in order to be able to mock final methods.

I also took the chance to fix some other minor issues I came across.

I leave as a reference an example value of a response to the CLUSTER_STATUS request viewed through the lens of SolrJ.

clusterstatus