M
M
MOWS2017-01-28 09:50:37
MongoDB
MOWS, 2017-01-28 09:50:37

Why are records disappearing from MongoDB?

There is a small project on Spring Boot, its essence is that it simply stores client requests in MongoDB. The project is not large and 2-3 applications come in a day.
The situation has already been repeated twice: 10-20 applications are hanging, you come in the next day - there is not a single one .... Where did they disappear to??? Only I have access to the admin panel.
It was 1 time, then a week later the same thing happened again.
What could it be? MongoDB stores data in RAM or what? And does not write to disk?
I understand if I had a million applications .... but here 10-20

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Mirilaczvili, 2017-01-28
@2ord

It's hard to say without data from control and security tools, but in the light of recent events, this should not be dismissed: https://www.opennet.ru/opennews/art.shtml?num=45903
2 tips:
Monitor connections and other things.
Let system administrators close gaps in access to the database.

S
Shane Matte, 2017-01-29
@mattedev

1) If you save to the database, then the record will remain there. (until it is deleted)
2) What prevents you from testing the script, how and where it saves.
Logics

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question