Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-4684

Stress that handleTopologyEvent() should be lock-free and terminate quickly

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Discovery API 1.0.2
    • Discovery API 1.0.4
    • Extensions
    • None

    Description

      The TopologyEventHandler.handleTopologyEvent() javadoc should be updated with:

      • the fact that it should terminate quickly and not do any length operations (as this could potentially hold back any other handler and it was not intended to support long-running handle calls)
      • the fact that the handleTopologyEvent() caller could potentially hold locks and handleTopologyEvent() itself should be (dead-)lock free

      Attachments

        Issue Links

          Activity

            People

              stefanegli Stefan Egli
              stefanegli Stefan Egli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: