Hey there guys,
I’ve been working with MongoDB for a uni project, long story short, we’re doing things with weather data and we’re using Mongo to store historical data for a select few locations.
I’ve noticed that when I check the data store, it’s randomly deleted objects from the db.
As you can see from the screenshot above, we might have one hour from 2016-01-01, and then it skips to 2016-01-03. This isn’t how the data was uploaded, in looked something more akin to this:
date: 01/01/2016 hour: 0
date: 01/01/2016 hour: 1
date: 01/01/2016 hour: 2
date: 01/01/2016 hour: 3
etc…
This has happened once before, but I reuploaded our data via Compass and thought it was just a one off. I’ve looked into TTL, however, I don’t think that is the cause of the issue since we never established any TTL when initially uploading.
If anyone has any ideas on what’s happening or how it can be stopped, please let me know! And let me know if you have any questions, I’ll try and answer them quickly
Thanks!