catalog-dockerfiles icon indicating copy to clipboard operation
catalog-dockerfiles copied to clipboard

MongoDb does not shutdown gracefully

Open avarabei opened this issue 7 years ago • 0 comments

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

avarabei avatar Feb 05 '18 20:02 avarabei