Troy
Enable replica sets for a single MongoDB instance
Hi, i'm getting this issue in my code with MongoDB
2024/07/28 23:24:54 (Location40573) The $changeStream stage is only supported on replica sets
I'm unsure how to approach this using native Railway MongoDB as I had been using DigitalOcean prior to this and they just configured it for me automatically.
Tried adding an environmental variable for REPLICA_SET_NAME but that didn't do anything. Just needed for 1 mongo instance. Any help is appreciated.115 replies