Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Working of mongo strict mode param in canary deployments

14 views
Skip to first unread message

gaurav singhal

unread,
Jun 28, 2024, 1:18:45 AM6/28/24
to MongoEngine Users
We are using mongo in our python application. In our mongo models, we are using the param strict as True. Using strict as True, allows us to make sure our collections are clean and there is no ghost attributes present.
But we have encountered issues where if we are trying to do a deploying for a code change involving addition of new fields, then during rollout deployment or canary deployment, the code breaks due to some of the traffic being routed to the older code.
We wanted a way to have a seamless rolling deployment and canary deployment procedure along with keeping strict mode as true.
Reply all
Reply to author
Forward
0 new messages