Hi everyone, I need some advice. I deployed a new login service last night and ran into a bug.
Here are the steps I took:
- I backed up my data into a users_backup collection.
- I deployed the new service and tried to log in again.
- I found that when I logged in, it created a new document. The normal flow is: login → check providerId → if it exists, retrieve the existing user data; if not, insert a new document.
- When I checked the original document, all fields were gone, leaving only the _id. (also check my backup collection which still has data)
- I checked the operational logs whether there’s anyone or anything updated during that time, and there were no records of the fields being updated or changed for that document ID.
Does anyone have an idea of what else I should check?