rancher / catalog-dockerfiles

Dockerfiles for Rancher Catalog containers
Apache License 2.0
131 stars 102 forks source link

MongoDb does not shutdown gracefully #112

Open avarabei opened 6 years ago

avarabei commented 6 years ago

MongoDB does not shutdown gracefully and should have "trap" in the script to propagate signals properly to mongod process. Currently after the restart there is a recovery session. Log history:

2018-02-05T17:44:12.083+0000 W - [initandlisten] Detected unclean shutdown - /data/db/mongod.lock is not empty. 2018-02-05T17:44:12.088+0000 I - [initandlisten] Detected data files in /data/db created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'. 2018-02-05T17:44:12.088+0000 W STORAGE [initandlisten] Recovering data from the last clean checkpoint.

https://github.com/rancher/community-catalog/issues/732