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

Race in Dogs^3 frontiers #184

Merged
merged 1 commit into from
Jun 25, 2019
Merged

Race in Dogs^3 frontiers #184

merged 1 commit into from
Jun 25, 2019

Conversation

frankmcsherry
Copy link
Member

As reported in #183, there is a race in the dogsdogsdogs project. This PR fixes it!

It turns out to be pretty simple once diagnosed: the traces shared by all of the operators call advance_by to allow the trace to compact, and they are supposed to use a frontier less or equal to the times they will need in the future, less the trace race ahead of the diffs. In fact, we were using only the corresponding input frontier, when we should have merged that information with stashed updates that we had not yet processed.

With that fix in place, @ryhzyk's error.rs example produces two triangles 10/10 times for me.

@frankmcsherry frankmcsherry merged commit e1edeb3 into master Jun 25, 2019
@frankmcsherry frankmcsherry deleted the dog_race branch June 25, 2019 14:43
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