You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yifan Cai (Jira)" <ji...@apache.org> on 2025/01/28 18:33:00 UTC

[jira] [Commented] (CASSSIDECAR-180) Introduces sidecar endpoint to vend streaming data statistics

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

Yifan Cai commented on CASSSIDECAR-180:
---------------------------------------

Thank  you for the patch! Please also post the CI link.

> Introduces sidecar endpoint to vend streaming data statistics
> -------------------------------------------------------------
>
>                 Key: CASSSIDECAR-180
>                 URL: https://issues.apache.org/jira/browse/CASSSIDECAR-180
>             Project: Sidecar for Apache Cassandra
>          Issue Type: Improvement
>          Components: Rest API
>            Reporter: Arjun Ashok
>            Assignee: Arjun Ashok
>            Priority: Normal
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> This proposal is part of an effort to introduce bespoke Sidecar APIs to support key operational functionality currently managed through nodetool commands. Introducing these APIs offers several benefits:
>  
>  * Strong Contract Definition: APIs provide a well-defined contract for both request and response structures, reducing errors in operational tooling by eliminating the need to parse command results.
>  * Error Handling: A clear response contract allows for meaningful error messages to be communicated to clients, without exposing internal implementation details.
>  * Input Validation: APIs can incorporate input validation to enhance security by protecting against command injection attacks.
>  * Version Compatibility: By exposing a standardized interface, APIs ensure compatibility across different Cassandra versions, through the sidecar’s abstraction.
>  * Access Control: APIs enable fine-grained access control, leveraging permissions and roles associated with client identities for precise authorization.
> This specific task introduces a endpoint that vends stream statistics, equivalent to a summary of a subset of the `nodetool netstats` dataset, specifically the aggregation of files and bytes sent/received and progress across sessions.
> For example, this is especially useful to determine the streaming status of nodes during leaving/replacement cases.



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

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