MongoDB: Error setting TTL index on collection : sessions
问题 Initially this error message started appearing very infrequently, but started to appear more regularly and now appears 4/5 times I run my application. I'm handling my session store with Mongo and as I understand it, the TTL index is used to make the session data expire. /home/dan/dev/audio-wave/node_modules/connect-mongo/lib/connect-mongo.js:161 throw new Error('Error setting TTL index on collection : ' + s ^ Error: Error setting TTL index on collection : sessions at /home/dan/dev/audio-wave