You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Kyle Nusbaum (JIRA)" <ji...@apache.org> on 2017/02/21 22:00:45 UTC
[jira] [Created] (STORM-2372) Pacemaker client doesn't clean up
heartbeats properly.
Kyle Nusbaum created STORM-2372:
-----------------------------------
Summary: Pacemaker client doesn't clean up heartbeats properly.
Key: STORM-2372
URL: https://issues.apache.org/jira/browse/STORM-2372
Project: Apache Storm
Issue Type: Bug
Affects Versions: 2.0.0, 1.x
Reporter: Kyle Nusbaum
Assignee: Kyle Nusbaum
Paths are not deleted correctly. Pacemaker's delete-path operates by matching a prefix against all the keys in the map.
The issue here is that the prefix is given a '/' on the end, but keys don't have a trailing '/' if there is no 'subkey'.
i.e. delete path /foo/bar/baz/ doesn't match the key /foo/bar/baz
The path has to have the trailing '/' so that delete path /foo/bar/baz doesn't also delete /foo/bar/bazoo
The solution here is to tack on a '/' to every key when checking against the prefix.
We also want to send the delete command to *every* pacemaker server rather than just the normal write client.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)