Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7755

Embedded Pulse has non-daemon thread that can keep the process it is embedded in alive

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.12.0
    • Component/s: pulse
    • Labels:
      None

      Description

      When Pulse is embedded in another service (like the locator) the Thread implemented by the org.apache.geode.tools.pulse.internal.data.Cluster class can keep the JVM Pulse is embedded in alive. A related problem is that the run() method on Cluster will keep running even if it loses its connection (which happens if the locator it is embedded in is stopped).

      The combination of these two can cause gfsh stop locator to never see the JVM running the locator to exit.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                echobravo Ernest Burghardt
                Reporter:
                dschneider Darrel Schneider
              • 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 - 20m
                  20m