Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2766

DefaultServerMonitor catches Throwable and discards without logging

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Works as Designed
    • Affects Version/s: 3.6.1
    • Fix Version/s: None
    • Component/s: Monitoring
    • Labels:
      None

      Description

      This code ought to at least log subclasses of Error (OOMEs in particular). Without doing so, there is no way to know that the JVM "got sick" when executing this thread. Even though the thread itself likely (I didn't evaluate the control paths) continues to behave correctly, I like to know if my JVMs are having issues.

      } catch (Throwable t) {
         averageRoundTripTime.reset();
         currentServerDescription = getConnectingServerDescription(t);
      }
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            sshabino Steve Shabino
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: