'MongoDb java driver 3.8.2 + Mongo Community 5.0.4

We are using spring-boot 2.1.5 and currently mongo db version 4.0. spring boot comes with spring-boot-starter-data-mongodb that comes with mongo driver 3.8.2. According to the compatibility chart https://www.mongodb.com/docs/drivers/java/sync/current/compatibility/ We are already using max mongo version that our driver is compatible with.

Mongo 4.0 is reaching EOL and we need to upgrade. But we do not have resources to upgrade tons of services on the same spring boot.

Yet it turns out that this setup simply works as it used to work, with mongo 5.0. I am not sure now, what does compatibility mean, and what are the dangers. Probably it works because of the services doing mostly simple CRUD with the database. Is there any knowledge what does it exactly mean "not compatible" ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source