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

Fix: Fixed issue query on observer #55

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

Tolfx
Copy link

@Tolfx Tolfx commented Sep 20, 2023

Issue in question

When using viewdb_persistence_store_mongodb without oplogListener we use Legacy (viewdb observer) this causes issue since mongodb cursor sets is options like: limit, sort and skip in queryOptions which gets never used on our observer. Since our cursor in viewdb we set everything in the query parameters not queryOptions.

This gets fixed when we merge both query and queryOptions into one object.

Fixes issues with store_mongodb when using legacy, due to cursor on adds on queryOptions not query
@Tolfx Tolfx requested a review from kennyek September 20, 2023 11:35
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

Successfully merging this pull request may close these issues.

None yet

1 participant