[
https://issues.apache.org/jira/browse/CASSANDRASC-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Francisco Guerrero updated CASSANDRASC-83:
------------------------------------------
Test and Documentation Plan: Added test to ensure the expected response is
returned when gossip is disabled for the ring endpoint and the token ranges
mapping endpoint.
Status: Patch Available (was: In Progress)
PR: https://github.com/apache/cassandra-sidecar/pull/77/files
> 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: [email protected]
For additional commands, e-mail: [email protected]