Skip to content
This repository was archived by the owner on Aug 17, 2025. It is now read-only.

fix: race condition on notifying updates from raft#5330

Merged
jvmakine merged 2 commits intomainfrom
juho/ftl-128-data-race-in-schema-package
May 2, 2025
Merged

fix: race condition on notifying updates from raft#5330
jvmakine merged 2 commits intomainfrom
juho/ftl-128-data-race-in-schema-package

Conversation

@jvmakine
Copy link
Copy Markdown
Contributor

@jvmakine jvmakine commented May 2, 2025

Previously, event index could have been updated before statemachine was. Now, we send a notification after an update to make sure no notifications are missed

@alecthomas alecthomas mentioned this pull request May 2, 2025
@jvmakine jvmakine force-pushed the juho/ftl-128-data-race-in-schema-package branch from e9d16f7 to c811175 Compare May 2, 2025 07:00
@jvmakine jvmakine marked this pull request as ready for review May 2, 2025 07:00
@jvmakine jvmakine requested review from a team and alecthomas as code owners May 2, 2025 07:00
Previously, event index could have been updated before statemachine was.
Now, we send a notification after an update to make sure no notifications are missed
@jvmakine jvmakine force-pushed the juho/ftl-128-data-race-in-schema-package branch from f6cfdc4 to 8cb9cc5 Compare May 2, 2025 07:02
@jvmakine jvmakine merged commit 40e03de into main May 2, 2025
76 checks passed
@jvmakine jvmakine deleted the juho/ftl-128-data-race-in-schema-package branch May 2, 2025 07:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant