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

Wrong reason for closing a connection supplied in log message in some cases

      The check for connection.isClosed() should come before the check for previous generation. If a connection is closed, the generation will be incremented when that happens, so the check for connection.isClosed() will never be reached.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: