Skip to content

Experimental solution for HREACT-34 #1683

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

Closed
wants to merge 1 commit into from
Closed

Conversation

Sanne
Copy link
Member

@Sanne Sanne commented Jun 28, 2023

// stage gets updated by doDynamicUpdate and doStaticUpdate which get called by performUpdate
return stage != null ? stage : voidFuture();
final CompletionStage<Void> finalStage = stage != null ? stage : voidFuture();
return finalStage;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this finalStage necessary, or it's you being overzealous?

@DavideD
Copy link
Member

DavideD commented Jun 29, 2023

I'm fine with this solution. I don't think it's too complicated and we can refactor the code later.
I think what's important now is to have a fix and some way to test this issue

@DavideD DavideD linked an issue Jun 29, 2023 that may be closed by this pull request
@DavideD
Copy link
Member

DavideD commented Jun 29, 2023

We've decided to go with the minimal solution.
We will work on adding assertions and more advance checks as a separate issue.

@DavideD DavideD closed this Jun 29, 2023
@Sanne Sanne deleted the minimal branch June 29, 2023 17:45
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.

Fix race condition during the update of multiple entites
2 participants