Re:Show HN: Open-Source Webhooks Gateway for Platform Engineers
by subomi on Friday March 31, 2023 @01:35AM
(#35383037)
Yup, it sucked! Users had to spin up replica sets all the time. Wasn't fun.
Re:Show HN: Open-Source Webhooks Gateway for Platform Engineers
by avinassh on Friday March 31, 2023 @03:11AM
(#35383705)
wanted to type: any reason* Mongo has this restriction
Re:Show HN: Open-Source Webhooks Gateway for Platform Engineers
by rtukpe on Friday March 31, 2023 @03:26AM
(#35383793)
I don't know tbh. According a post on the MongoDB community forum Transactions are built on concepts of logical sessions they require features which are only available in replica set environment. You can see more here [0]
[0] https://www.mongodb.com/community/forums/t/why-replica-set-i...
Re:Show HN: Open-Source Webhooks Gateway for Platform Engineers
by MaBeuLux88 on Friday March 31, 2023 @08:12AM
(#35385864)
If you are in a development environment, you can set up a single node Replica Set. Some features like transactions and change streams rely on the oplog collection which only exists in Replica Set. A Replica Set can work with a single primary node. You won't have fail over of course, but it's not the point in a dev environment.
> e.g. transactions don't work on a single node
any Mongo has this restriction