You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2017/11/20 18:18:00 UTC

[jira] [Resolved] (KUDU-2215) kernel stack watchdog can delay thread exits

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

Todd Lipcon resolved KUDU-2215.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.6.0

> kernel stack watchdog can delay thread exits
> --------------------------------------------
>
>                 Key: KUDU-2215
>                 URL: https://issues.apache.org/jira/browse/KUDU-2215
>             Project: Kudu
>          Issue Type: Bug
>          Components: perf, util
>    Affects Versions: 1.6.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 1.6.0
>
>
> KernelStackWatchdog::Unregister can block if the watchdog is currently in the process of dumping a thread's stacks. The stack dumping can take several seconds in the worst case, so this can delay another thread from exiting.
> There's currently a comment indicating that we don't usually care about delaying thread exits, but there are actually a few places where we do join() on a thread. In particular, in earlier versions Peer::Close() joins on a ResettableHeartbeater and thus can get stuck for a while.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)