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

Saranya Krishnakumar updated CASSSIDECAR-360:
---------------------------------------------
    Status: Review In Progress  (was: Patch Available)

> Sidecar API Endpoint for Nodetool Compaction Stop
> -------------------------------------------------
>
>                 Key: CASSSIDECAR-360
>                 URL: https://issues.apache.org/jira/browse/CASSSIDECAR-360
>             Project: Sidecar for Apache Cassandra
>          Issue Type: New Feature
>          Components: Rest API
>            Reporter: Shalni Sundram
>            Assignee: Shalni Sundram
>            Priority: Normal
>          Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> This proposal is part of an ongoing project to build bespoke API endpoints to 
> carry out key Cassandra cluster operations currently managed by nodetool CLI 
> commands. These APIs will offer 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.
> The endpoint in this particular task will be equivalent to the “nodetool 
> stop” command, which stops compaction processes as a preliminary step for 
> node repair and restart workflows in Cassandra.



--
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