You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/10/27 05:18:01 UTC
[jira] [Created] (FLINK-7936) Lack of synchronization w.r.t.
taskManagers in MetricStore#add()
Ted Yu created FLINK-7936:
-----------------------------
Summary: Lack of synchronization w.r.t. taskManagers in MetricStore#add()
Key: FLINK-7936
URL: https://issues.apache.org/jira/browse/FLINK-7936
Project: Flink
Issue Type: Bug
Reporter: Ted Yu
Priority: Minor
{code}
String tmID = ((QueryScopeInfo.TaskManagerQueryScopeInfo) info).taskManagerID;
tm = taskManagers.computeIfAbsent(tmID, k -> new TaskManagerMetricStore());
{code}
In other places, access to taskManagers is protected by lock on MetricStore.this
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)