Uploaded image for project: 'Phoenix Tephra'
  1. Phoenix Tephra
  2. TEPHRA-267

ReferenceCountedSupplier hangs during release when Error is thrown during startup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0-incubating
    • core
    • None

    Description

      ReferenceCountedSupplier saves the reference to the service being started and then starts it. If the startup throws an Error then the failed service is stored, and then other clients also use the failed service since the reference is not null. During shutdown, the failed service will be stopped which can lead to the stop thread hanging (due to Guava not setting the service in failed state when Error is thrown)

      Attachments

        Issue Links

          Activity

            People

              poorna Poorna Chandra
              poorna Poorna Chandra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: