Closed diegomarquezp closed 3 years ago
This issue has been marked stale because it has not seen activity within six months. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS
file at the top-level of this repository. This issue will be closed within 30 days of being stale.
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS
file at the top-level of this repository.
Hi there. I'm switching my local test database to one in the AWS cloud. I created a cluster with Atlas and I can connect to it using DBCompass. I changed the datasource settings for my app to point into this new cluster and it runs correctly.
The problem is that when I insert a document using this.repo.create() it even returns the created object with its own ObjectID and stuff, but when I do the double-check using DBCompass, no document seems to be inserted at all (I had two windows pointing both to my local db and the AWS cluster to ensure I was not missing the right database). I switched back to my local datasource to confirm the problem and it seems to be correctly inserting documents when I check with DBCompass, so the problem seems to occur only with this AWS cluster
I was wondering if there was any thrown/caught exception by using VSCode debugger, but nope, no exception at all is occurring when pointing to the AWS cluster.
I'm hoping that this is a common situation when dealing with mongo atlas.
Here is some info:
The silently failing code Returns inserted object with object id, but actual document is not inserted in cluster
My datasource (lb4 does not complain, seems to accept this config):
Thanks in advance for any help