Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2372

Pacemaker client doesn't clean up heartbeats properly.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 1.x
    • Fix Version/s: 2.0.0, 1.1.0, 1.0.4
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              knusbaum Kyle Nusbaum
              Reporter:
              knusbaum Kyle Nusbaum
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 10m
                2h 10m