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

Pacemaker client doesn't clean up heartbeats properly.

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0, 1.x
    • 2.0.0, 1.1.0, 1.0.4
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            knusbaum Kyle Nusbaum Assign to me
            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

              Slack

                Issue deployment