Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2071

FlowControl: credits are unserialized incorrectly

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.6.9
    • Fix Version/s: 3.6.10
    • Labels:
      None

      Description

      This is a regression in 3.6.9 (3.6.8 is fine). In FlowControl.sendCredits() and .sendCreditRequest(), we use Util.objectToBuffer() to serialize the credits, but on the receiver side we use Bits.readLong(), which interprets the TYPE_LONG sent as first byte as being part of the long.

      The reason is an imcomplete backport of from the master branch. The problem does not exist on master.

      The faulty commit is ac5f507 on the 3.6 branch

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  belaban Bela Ban
                  Reporter:
                  belaban Bela Ban
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: