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

add native_port_ssl to system_views.peers table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Won't Fix
    • 5.x
    • Local/Other
    • None
    • Correctness
    • Normal
    • Normal
    • User Report
    • All
    • None
    • Hide

      run CI

      Show
      run CI

    Description

      system.peers_v2 includes a “native_port” but has no notion of native_transport_port vs. native_transport_port_ssl.  Given this limited information, there’s no clear way for the driver to know that different ports are being used for SSL vs. non-SSL or which of those two ports is identified by “native_port”.

       

      The issue we ran into is that the java driver, since it has no notion of the transport port SSL, the driver was only using the contact points and was not load balancing.

       

      The customer had both set:

      native_transport_port: 9042

      native_transport_port_ssl: 9142

       

      They were attempting to connect to 9142, but that was failing. They could only use 9042, and so their applications load balancing was failing. We found that any node that was a contact point was connecting, but the other nodes were never acting as coordinators.

       

      There are still issues in the driver, for which I have created JAVA-2967, which also refers to JAVA-2638, but the system.peers and system.peers_v2 tables should both contain native_transport_port and native_transport_port_ssl.

       

       

      Attachments

        Issue Links

          Activity

            People

              smiklosovic Stefan Miklosovic
              steve.lacerda@datastax.com Steve Lacerda
              Stefan Miklosovic
              Brandon Williams
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m