You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Roman Khachatryan (Jira)" <ji...@apache.org> on 2022/03/21 11:42:00 UTC

[jira] [Resolved] (FLINK-26592) [Changelog] Deadlock in FsStateChangelogWriter

     [ https://issues.apache.org/jira/browse/FLINK-26592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Khachatryan resolved FLINK-26592.
---------------------------------------
    Fix Version/s: 1.15.0
       Resolution: Fixed

Merged into master as db4d05a9c1bf63a56218d7bbfcc2b8e9978387e0,

into 1.15 as 543e8854b8f6b1e0b6997383de0691d2e9fffba7

> [Changelog] Deadlock in FsStateChangelogWriter
> ----------------------------------------------
>
>                 Key: FLINK-26592
>                 URL: https://issues.apache.org/jira/browse/FLINK-26592
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / State Backends
>    Affects Versions: 1.15.0
>            Reporter: Roman Khachatryan
>            Assignee: Roman Khachatryan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.15.0, 1.16.0
>
>         Attachments: deadlock
>
>
> The issue occurs when sizes of buffers are set to minimum (e.g. 1 byte).
> Task thread tries to update state -> schedules to upload changes -> waits for capacity.
> Upload threads do release capacity on upload completion; however, they are unable to send back the results because the Writer lock is taken; therefore, they're unable to proceed with the next uploads.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)