DocumentDB cluster: invalidating the connection pool kills connections of other microservices

Hi @Artun_Subasi,

Amazon DocumentDB is a separate implementation from the MongoDB server.

DocumentDB uses the MongoDB 3.6 wire protocol, but there are number of functional differences and the supported commands are a subset of those available in MongoDB 3.6.

If your issue isn’t reproducible with an actual MongoDB deployment, there isn’t much we can do to investigate. You could try standing up a MongoDB Atlas cluster to compare behaviour. The free tier in Atlas provides a basic replica set with 512MB of storage.

For support using DocumentDB I suggest posting on the AWS Forums or Stack Overflow.

Regards,
Stennie