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

Temp fix query for md queries #374

Merged
merged 1 commit into from
Jan 3, 2021
Merged

Conversation

JoranAngevaare
Copy link
Contributor

@JoranAngevaare JoranAngevaare commented Jan 3, 2021

What is the problem / what does the code in this PR do
The queries for the metadata always fetch the first rather than the last metadata doc in the collection. This fix is a temporary solution to fetch the last one. We will have to do a better job by adding the changes proposed in #365. This means, making the collection clean of any other documents that might be found by the query to this datakey as well as optimizing the syntax to not use slow operators.

Can you briefly describe how it works?
Query the last document rather than the first.

@JoranAngevaare JoranAngevaare merged commit 870971f into master Jan 3, 2021
@JoranAngevaare JoranAngevaare deleted the online_monitor_md_queries branch January 3, 2021 14:10
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.

1 participant