Skip to content

RedisReactiveHealthIndicator is broken with Redis cluster mode #22061

@edwardsre

Description

@edwardsre

After upgrading to Spring Boot 2.2.8.RELEASE from 2.2.7.RELEASE, the Redis health indicator started reporting down with the following error detail on clustered Redis:

"redis": {
   "details": {
     "error": "java.lang.IllegalArgumentException: Value must not be null"
  },
  "status": "DOWN"
 }

It appears that the info properties coming back in 2.2.8 have the IP address and port prefix on the keys (e.g. 127.0.0.1:7002.redis_version). It also appears the properties come back from each node this way.

The attached zip file reproduces the issue. Instructions can be found in instructions.md in the attached zip for how we are starting a clustered Redis docker container.

clustered-redis-issue.zip

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions