• Scott Frederick's avatar
    Fix RedisReactiveHealthIndicator in clustered configuration · b2730370
    Scott Frederick authored
    Prior to Spring Data Redis version 2.2.8, the contents of the
    Properties object returned from the
    ReactiveRedisConnection.ServerCommands.info API were the same
    for clustered and non-clustered Redis configurations, containing a set
    of key/value pairs. This allowed ReactiveRedisHealthIndicator to get
    a version property using a well-known key. Starting with Spring Data
    Redis 2.2.8, the info property keys contain a host:port prefix in a
    clustered Redis configuration. This prevented
    ReactiveRedisHealthIndicator from getting the version property as
    before and resulted in the health always being reported as DOWN.
    
    This commit adjusts ReactiveRedisHealthIndicator to detect the
    clustered configuration from Spring Data Redis and find the version
    property for one of the reported cluster nodes.
    
    Fixes gh-22061
    b2730370
Name
Last commit
Last update
.bomr Loading commit data...
.github Loading commit data...
.mvn Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
idea Loading commit data...
spring-boot-project Loading commit data...
spring-boot-tests Loading commit data...
src/checkstyle Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...