8000 Read concern for "aggregation" metrics is same as configured search read concern · Issue #2163 · eclipse-ditto/ditto · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Read concern for "aggregation" metrics is same as configured search read concern #2163

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

Open
thjaeckle opened this issue Apr 22, 2025 · 0 comments
Labels

Comments

@thjaeckle
Copy link
Member

I noticed that for the new aggregation based metrics the used MongoDB readConcern is the same as the configured one for all searches in Ditto.

This can be unwanted, e.g. when having configured a really "costly" readConcern like linearizable in order to guarantee a strong consistency of search results.

For aggregations, the readConcern should be local IMO - the cheapest possible.

Maybe making it configurable is the best way to fix that.

@thjaeckle thjaeckle added the bug label Apr 22, 2025
@thjaeckle thjaeckle added this to the 3.7.4 milestone Apr 22, 2025
@thjaeckle thjaeckle removed this from the 3.7.4 milestone May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant
0