shoal
  1. shoal
  2. SHOAL-71

HealthMonitor.isConnected : for loop only looks at 1 network interface

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: 1.1
    • Component/s: GMS
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Macintosh

    • Issuezilla Id:
      71
    • Status Whiteboard:
      Hide

      shoal-shark-na

      Show
      shoal-shark-na

      Description

      The power outage related code in the IndoubtPeerDetector thread's isConnected() method iterates over
      only 1 Future task and returns false if the future task is not done. The "return false" statement needs to be
      inside the catch block for InterruptedException. Otherwise the following 2 lines of code will never get
      executed in the case where the future task is not complete:

      fine("Peer Machine for " + entry.adv.getName() + " is down!");
      return false;

        Activity

        Hide
        sheetalv added a comment -
        Show
        sheetalv added a comment - issue fixed in the trunk. https://shoal.dev.java.net/servlets/ReadMsg?list=cvs&msgNo=636

          People

          • Assignee:
            sheetalv
            Reporter:
            sheetalv
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: