alexbevi
(Alex Bevilacqua)
3
@Quan_Le_Anh this appears to be the same question as https://www.reddit.com/r/mongodb/comments/1h2p3px/mysterious_loss_of_data_in_a_very_strange_manner/.
The OP response there to some of the threads also makes it sound like this is solved now:
The oplog was mad helpful, I inserted into a new field (no, renamed the old field) and turns out one of the K8S Pod (we have a cloned app cluster, but essentially abandoned till the migration process is done) is actively re-inserting the 0 value because it is a cyclic field (renewed every week, the data is 2 months old, there is another field for cond check, the checking interval is 5 seconds). Shit was crazy haunted till the DevOps guy comes by and said “yeah we cloned the whole thing even the K8S cron Pod” so while Atlas is not showing any native Mongo crons we saw 2 inserts in the oplog.rs . This stupif “bug” took us 4 days to come by. I guess I should be more specific when telling the Ops guy to provide an env thats “as close as possible to prod” lmao.
If you’re copy/pasting questions between sites like Reddit, SO or elsewhere it wouldn’t hurt to link those together to prevent duplication of effort and to promote discoverability 
2 Likes