[ 
https://issues.apache.org/jira/browse/CASSSIDECAR-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francisco Guerrero updated CASSSIDECAR-264:
-------------------------------------------
                        Authors: Francisco Guerrero
    Test and Documentation Plan: Add a in-jvm dtest that ensures the issue is 
resolved
                         Status: Patch Available  (was: In Progress)

> Settings endpoint should return Service Unavailable when Cassandra instance 
> is down
> -----------------------------------------------------------------------------------
>
>                 Key: CASSSIDECAR-264
>                 URL: https://issues.apache.org/jira/browse/CASSSIDECAR-264
>             Project: Sidecar for Apache Cassandra
>          Issue Type: Bug
>          Components: Rest API
>            Reporter: Francisco Guerrero
>            Assignee: Francisco Guerrero
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In CASSSIDECAR-182, a refactor was made to avoid performing null checks. 
> However, the 
> {{org.apache.cassandra.sidecar.cluster.CassandraAdapterDelegate#nodeSettings}}
>  method does not throw when {{nodeSettingsFromJmx}} is {{null}} even though 
> the method declares it throws when the information is unavailable.
> This can cause clients behave incorrectly when the expectation is a 503 - 
> Service Unavailable response.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to