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

DRPC timeout can return null instead of throwing an exception

    XMLWordPrintableJSON

Details

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

    Description

      In DPRC there is a race condition when the cleanup method is called between releasing the sem, cleaning up the atoms and the blocked thread fetching the result. It looks like it is possible on a timeout that the sem will be released but by the time the thread blocked on the sem actually wakes up the result may have been removed, causing a null to be returned instead of an exception being thrown.

      Attachments

        Activity

          People

            knusbaum Kyle Nusbaum
            revans2 Robert Joseph Evans
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: