forked from apache/flink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FLINK-26592][state/changelog] Use mailbox in FsStateChangelogWriter …
…instead of a lock When a task thread tries to schedule an upload, it might wait for available capacity. Capacity is released by the uploading thread on upload completion. After releasing, it must notify the task thread about the completion. Both task and uploading thread acquire FsStateChangelogWriter.lock. That causes a deadlock if uploader releases capacity insufficient for task thread to proceed. This change removes the lock and makes uploader thread to use mailbox actions.
- Loading branch information
1 parent
32c2ca7
commit db4d05a
Showing
14 changed files
with
185 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.