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 out of order writes with async reactive calls #10579

Merged
merged 6 commits into from
Mar 8, 2024
Merged

Commits on Mar 6, 2024

  1. Fix out of order writes with async reactive calls

    In a few places, I used the pattern where reactive calls would be dispatched to the event loop if they weren't already on the loop. However, if there is a reactive call outside the event loop, and then immediately a reactive call *on* the event loop, the calls can run in the wrong order. The second call on the event loop was not delayed with an execute() call, so it could run before the first call runs.
    
    This fix introduces a central EventLoopSerializer that takes care of this problem. In the above problem scenario, it takes care to also delay the second call even though it was submitted on the event loop.
    yawkat committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    6cea5b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fbea411 View commit details
    Browse the repository at this point in the history
  3. checkstyle

    yawkat committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    0a51f53 View commit details
    Browse the repository at this point in the history
  4. rename

    yawkat committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    6007bb0 View commit details
    Browse the repository at this point in the history
  5. revert

    yawkat committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    4fd068a View commit details
    Browse the repository at this point in the history
  6. rename

    yawkat committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    d0290b1 View commit details
    Browse the repository at this point in the history