Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-4252

DUCC: SM Calculates negative number of service instances to add!

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0-Ducc
    • 2.0.0-Ducc
    • DUCC
    • None

    Description

      If a service is stopped and then started IMMEDIATELY, there will be instances still alive that are marked to stop because stopping (and starting) is somewhat time consuming. If this happens, the PingDriver is doing Bad Math and mis-computing the number of actual instances alive, resulting in a negative number. This has the ultimate effect of spawing double (or maybe more) instances.

      Fix is to take Math.max(0, instances) in the PingDriver.

      Attachments

        Activity

          People

            challngr Jim Challenger
            challngr Jim Challenger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: