-
Notifications
You must be signed in to change notification settings - Fork 41.4k
Closed
Description
Hi,
We are using Mongo 5.0 and have implemented their stable-api. We now find the Mongo health-check no longer works and reports the following error -> error 323 (APIStrictError): 'Provided apiStrict:true, but the command buildInfo is not in API Version 1.
On closer inspection, the class uses the buildinfo
command (https://github.com/spring-projects/spring-boot/blob/main/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/mongo/MongoHealthIndicator.java) and this is not supported in Mongo's versioned api -> https://www.mongodb.com/docs/manual/reference/stable-api/#api-v1-commands
Are there plans to use commands supported by the versioned api?
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement