You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2024/07/10 12:20:00 UTC
[jira] [Commented] (CASSANDRA-19760) Expose the execution results of a cleanup command to a virtual table
[ https://issues.apache.org/jira/browse/CASSANDRA-19760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17864637#comment-17864637 ]
Maxim Muzafarov commented on CASSANDRA-19760:
---------------------------------------------
Hi [~paulo], would you mind taking a quick look at the implementation and the proposal I made here? The draft lacks additional tests, but I think it's really straightforward to add them if the changes look good overall, anyway, I'll appreciate the feedback.
> Expose the execution results of a cleanup command to a virtual table
> --------------------------------------------------------------------
>
> Key: CASSANDRA-19760
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19760
> Project: Cassandra
> Issue Type: Improvement
> Components: Observability/Metrics
> Reporter: Maxim Muzafarov
> Assignee: Maxim Muzafarov
> Priority: Normal
> Fix For: 5.x
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When a cleanup command is called, the compaction process is triggered under the hood is triggered accordingly. However, if there is nothing to compact or the cleanup command returns with a status other than SUCCESSFUL, there is no way to get the execution results of the command that was run. This is especially true when using any kind of automation/scripting on top of JMX or as a nodetool wrapper.
> We want to see some information about the cleanup command (id, status, etc.) that was executed. As a possible solution, we can use a small heap buffer with the history of the executed commands to expose the buffer in a virtual table accordingly.
> Operations with other OperationType e.g. SCRUB, VERIFY etc. can be exposed in the same way.
--
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