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

Zero message size reported to ConnectionListener.messagesSent

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.0.1, 3.1.0
    • Affects Version/s: 3.0.0
    • Component/s: Monitoring
    • None

      The message size is being calculated based on ByteBuf.remaining(), but that has to happen before the byte buffer is sent to the stream. Otherwise remaining equals 0.

            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: