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 WritableStore::get_many and get_derived to not return stale values #4801

Merged
merged 2 commits into from
Aug 16, 2023

Conversation

lutter
Copy link
Collaborator

@lutter lutter commented Aug 10, 2023

In cases where the queue had multiple entries, and an entity was modified by more than one entry, we would return the oldest value in the queue instead of the newest one from WritableStore::get_many and get_derived.

This change makes sure that we always return the correct (newest) value in these situations

@lutter lutter requested a review from leoyvens August 10, 2023 22:53
In cases where the queue had multiple entries, and an entity was modified
by more than one entry, we would return the oldest value in the queue
instead of the newest one from WritableStore::get_many and get_derived.

This change makes sure that we always return the correct (newest) value in
these situations
@lutter lutter merged commit 2891a76 into master Aug 16, 2023
6 checks passed
@lutter lutter deleted the lutter/writable branch August 16, 2023 16:05
This pull request was closed.
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.

2 participants