[ 
https://issues.apache.org/jira/browse/CASSANDRASC-83?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17784247#comment-17784247
 ] 

Dinesh Joshi commented on CASSANDRASC-83:
-----------------------------------------

+1, thanks for the patch!

> Require gossip to be enabled for ring and token ranges mapping endpoints
> ------------------------------------------------------------------------
>
>                 Key: CASSANDRASC-83
>                 URL: https://issues.apache.org/jira/browse/CASSANDRASC-83
>             Project: Sidecar for Apache Cassandra
>          Issue Type: Improvement
>          Components: Rest API
>            Reporter: Francisco Guerrero
>            Assignee: Francisco Guerrero
>            Priority: Normal
>              Labels: pull-request-available
>
> The ring and token ranges mapping endpoints leverage JMX to produce the 
> payload. Ring and token ranges mapping information is derived from gossip 
> information available to the Cassandra instance. If gossip has been disabled, 
> the information might provide an inconsistent view of the cluster which is 
> undesirable. We should instead return a 503 (Service Unavailable) to the 
> client whenever the client tries to access these endpoints and gossip has 
> been disabled.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to