Uploaded image for project: 'Modular Service Container'
  1. Modular Service Container
  2. MSC-255

Stability monitors are unreliable - deprecate them

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.4.12.Final
    • None
    • runtime
    • None

      Stability monitors are unreliable and must be removed in the future.

      Simplest usecase to demonstrate the problem is:

      1) user code is going to install service A

      2) user code associates StabilityMonitor with service builder for Service A

      3) user code associates Service A with service builder

      4) user code executes service builder install() method

      5) user code calls StabilityMonitor.awaitStability() to wait for Service A (to let it achieve stability)

      6) blocking function call 5) succedes and returns control to user code

       

      After step 6) user code might expect Service A is in stable state.

      But since StabilityMonitor doesn't block services in any way this might not be true.

      Code relying on it is really error prone.

       

              ropalka Richard Opalka
              ropalka Richard Opalka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: