Cassandra
  1. Cassandra
  2. CASSANDRA-1777

The describe_host API method is misleading in that it returns the interface associated with gossip traffic

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Fix Version/s: 0.8.4
    • Component/s: None
    • Labels:
      None

      Description

      If the hardware is configured to use separate interfaces for thrift and gossip, the gossip interface will be returned, given the results come out of the ReplicationStrategy eventually.

      I understand the approach, but given this is on the API, it effective worthless in situations of host auto discovery via describe_ring from a client. I actually see this as the primary use case of this method - why else would I care about the gossip iface from the client perspective? It's current form should be relegated to JMX only.

      At the same time, we should add port information as well.

      describe_splits probably has similar issues.

      I see the potential cart-before-horse issues here and that this will probably be non-trivial to fix, but I think "give me a set of all the hosts to which I can talk" is pretty important from a client perspective.

      1. 1777-v2.txt
        5 kB
        Brandon Williams
      2. 1777.txt
        6 kB
        Brandon Williams

        Issue Links

          Activity

          Nate McCall created issue -
          Jonathan Ellis made changes -
          Field Original Value New Value
          Fix Version/s 0.8 [ 12314820 ]
          Jonathan Ellis made changes -
          Assignee Brandon Williams [ brandon.williams ]
          Jonathan Ellis made changes -
          Original Estimate 16h [ 57600 ]
          Remaining Estimate 16h [ 57600 ]
          Brandon Williams made changes -
          Attachment 1777.txt [ 12468792 ]
          Jonathan Ellis made changes -
          Fix Version/s 1.0 [ 12316349 ]
          Fix Version/s 0.8 [ 12314820 ]
          Brandon Williams made changes -
          Link This issue relates to CASSANDRA-2882 [ CASSANDRA-2882 ]
          Brandon Williams made changes -
          Attachment 1777-v2.txt [ 12489239 ]
          Brandon Williams made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Reviewer jbellis
          Resolution Fixed [ 1 ]
          Sylvain Lebresne made changes -
          Fix Version/s 0.8.3 [ 12317246 ]
          Fix Version/s 1.0 [ 12316349 ]
          Sylvain Lebresne made changes -
          Fix Version/s 0.8.4 [ 12317551 ]
          Fix Version/s 0.8.3 [ 12317246 ]
          Mark Guzman made changes -
          Link This issue relates to CASSANDRA-3173 [ CASSANDRA-3173 ]
          Gavin made changes -
          Workflow no-reopen-closed, patch-avail [ 12527773 ] patch-available, re-open possible [ 12748699 ]
          Gavin made changes -
          Workflow patch-available, re-open possible [ 12748699 ] reopen-resolved, no closed status, patch-avail, testing [ 12756567 ]

            People

            • Assignee:
              Brandon Williams
              Reporter:
              Nate McCall
              Reviewer:
              Jonathan Ellis
            • Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 16h
                16h
                Remaining:
                Remaining Estimate - 16h
                16h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Development