I
I
Ilya Karavaev2017-01-10 14:57:10
MongoDB
Ilya Karavaev, 2017-01-10 14:57:10

Could MongoDB decide on its own to clean up the database?

The situation is this, on the test server it was found that the database in the monge was completely cleared. The data as a whole is no longer a pity. But the fact itself is not pleasant and I would like to deal with the problem if this happened due to any settings.
The problem is that in the logs of the config base, in the changelog collection, the last entry contains information about the drop. But without information about who did it in the clientAddr field. And the details are also empty.
Cron looked, like all tasks are not present. Our scripts could not do this, there are no such instructions for clearing the database.
Where else can you see and what to look for?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Osher, 2017-01-10
@Quieteroks

https://habrahabr.ru/company/pt/blog/319186/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question