Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE: "mongo-url" (MONSTACHE_MONGO_URL) to separate for reading data and writing configs #681

Open
apetrik-nh opened this issue Apr 10, 2023 · 0 comments

Comments

@apetrik-nh
Copy link

Hello @rwynn .

I would like Monstache to read from the secondary MongoDB replica. But in the case I point Monstache to the MongoDB with "secondaryPreferred" in the connection string, Monstache is unable to write the configs (direct reads marker and change stream timestamp) so we loose the state on the big DB.

It seems like an absolutely logical requirement but I didn't find anything in the documentation to achieve this. As far as I understand "mongo-config-url" (MONSTACHE_MONGO_CONFIG_URL) is used for different case when MongoDB is running as a cluster.

Thank you,
Andrei

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant