Why dockerized mongo drops my database periodically?

391 Views Asked by At

I got a little web-service. On the back-end I got dockerized mongo and a few casual stuff like nodejs & nginx. Everything in separate container. And communicates via virtual network. So my web-service is working few months. And during this time my database has been dropped twice. But I haven't even committed any changes.

Mongo saves data into a volume. So all the data is ok after restarting containers. I checked out the logs, and saw this. But I've no idea why this is happening. Is it some hacker attack?

2017-05-10T13:30:31.592+0000 I NETWORK  [initandlisten] connection accepted from 178.174.137.79:51802 #120 (4 connections now open)
2017-05-10T13:30:31.719+0000 I COMMAND  [conn120] dropDatabase DB_DROPPED starting
2017-05-10T13:30:31.734+0000 I COMMAND  [conn120] dropDatabase DB_DROPPED finished
2017-05-10T13:30:31.775+0000 I COMMAND  [conn120] dropDatabase hypergraph starting
2017-05-10T13:30:32.196+0000 I COMMAND  [conn120] dropDatabase hypergraph finished
2017-05-10T13:30:32.198+0000 I COMMAND  [conn120] command hypergraph command: dropDatabase { dropDatabase: 1.0 } keyUpdates:0 writeConflicts:0 numYields:0 reslen:61 locks:{ Global: { acquireCount: { r: 2, w: 1, W: 1 } }, Database: { acquireCount: { W: 1 } } } protocol:op_query 421ms
2017-05-10T13:30:32.238+0000 I COMMAND  [conn120] dropDatabase local starting
2017-05-10T13:30:32.242+0000 I COMMAND  [conn120] dropDatabase local finished
2017-05-10T13:30:32.278+0000 I NETWORK  [conn120] end connection 178.174.137.79:51802 (3 connections now open)
0

There are 0 best solutions below