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

Gavin updated MESOS-9337:
-------------------------
    Comment: was deleted

(was: www.rtat.net)

> Hook manager implementation is missing mutex acquisition in several places.
> ---------------------------------------------------------------------------
>
>                 Key: MESOS-9337
>                 URL: https://issues.apache.org/jira/browse/MESOS-9337
>             Project: Mesos
>          Issue Type: Bug
>          Components: modules
>            Reporter: Benjamin Mahler
>            Priority: Major
>
> The hook manager uses a mutex to protect availableHooks from writing during 
> read (probably this should be a read/write mutex).
> However, this mutex is not acquired in many of the reads. For example:
> (mutex acquired)
> https://github.com/apache/mesos/blob/1.7.0/src/hook/manager.cpp#L108-L138
> (mutex not acquired!)
> https://github.com/apache/mesos/blob/1.7.0/src/hook/manager.cpp#L141-L150



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to