Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-11462

IncomingStreamingConnection version check message wrong

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.2.6, 3.0.6, 3.6
    • Component/s: None
    • Labels:
      None
    • Severity:
      Low

      Description

      If compares against StreamMessage.CURRENT_VERSION but prints MessagingService.current_version. The error message is confusing tho.

                  if (version != StreamMessage.CURRENT_VERSION)
                      throw new IOException(String.format("Received stream using protocol version %d (my version %d). Terminating connection", version, MessagingService.current_version));
      

      EDIT: That message is only printed at debug log level

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              snazy Robert Stupp
              Reviewers:
              Robert Stupp
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: