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

Database initialized by admin-service, Core or users of database-mongo can have different settings #321

Open
laserval opened this issue Mar 10, 2014 · 0 comments

Comments

@laserval
Copy link
Contributor

Due to how the MongoDB client works, all connections to MongoDB will initialise the database. While the default values for all connections to MongoDB are identical, the settings can be changed. If they are, the first connection to be created is the one that will set the size of oldDocuments and other settings.

This can be avoided if the connections use the same configuration file. One approach to this is to compile a single configuration file and recommend its use.

Another approach to avoid different settings is to only allow Core to create the database. This means a Core must be started once before it can be configured, though.

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

No branches or pull requests

1 participant