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

[repository] [mongodb] Write concern driver configuration #2177

Closed
fabMrc opened this issue Apr 26, 2019 · 0 comments

Comments

3 participants
@fabMrc
Copy link

commented Apr 26, 2019

Hi

Currently
https://github.com/gravitee-io/gravitee-repository-mongodb/blob/651b130e6503f94b65cd8f3d6816d268ed644678/src/main/java/io/gravitee/repository/mongodb/common/MongoFactory.java#L57 freeze Write concern to default strategy w:1.
If we need to make write ack more consistent w:>=2 or majority this class need an improvement.
Wstimeout is important also to avoid blocking write request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.