Skip to content
Discussion options

You must be logged in to vote

It looks like you are experiencing MongoDB corruption. This is very unlikely that it is related to any recent commits, typically db corruption is related to the process in which k8s updated your container, causing the database to not be cleanly shutdown. Not sure what exactly is defined in your kubernetes manifest since they were not included here but I would make sure to add this to your deployment to ensure that the controller has a proper amount of time to shut down gracefully: terminationGracePeriodSeconds: 60. Unexpected shutdowns of the MongoDB can also cause corruption but the most common thing I see is from just general lifecycle issues of stopping and re-creating the container. I…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Ashkaan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #399 on January 15, 2024 09:58.