Shane
(Shane Harvey)
3
M0 is a shared tier cluster, meaning the real MongoDB cluster is hosting data for many virtual M0 clusters. So even though your application was off and not writing data, other applications using that cluster could have written enough data to push your application’s writes out of the oplog.
To avoid this problem the app needs to read the change stream more frequently to ensure the resumeToken remains valid. Otherwise you’ll need to upgrade to a dedicated cluster tier.