[
https://issues.apache.org/jira/browse/CASSSIDECAR-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18023818#comment-18023818
]
Paulo Motta commented on CASSSIDECAR-271:
-----------------------------------------
It's important to note some sstable tools require Cassandra to be stopped while
running them:
>From
>[https://cassandra.apache.org/doc/latest/cassandra/managing/tools/sstable/sstableexpiredblockers.html:]
{quote}Cassandra must be stopped before this tool is executed, or unexpected
results will occur. Note: the script does not verify that Cassandra is stopped.
{quote}
I remember this is for historical reason but it's not clear if this still the
case, we might need to do some research to figure out what are the potential
"unexpected results" and if we can address it. Someone on #cassandra-dev might
have more context on this limitation.
IIRC tools like sstablelevelreset and sstablerepairdset have "online" versions
via JMX that we might prefer instead. Or alternatively we can stop and start
cassandra via CASSSIDECAR-266 to run some of the tools, but it's not clear if
this is really needed.
> Provide API endpoints to run SSTable tools via Sidecar.
> -------------------------------------------------------
>
> Key: CASSSIDECAR-271
> URL: https://issues.apache.org/jira/browse/CASSSIDECAR-271
> Project: Sidecar for Apache Cassandra
> Issue Type: Improvement
> Reporter: Isaac Reath
> Priority: Normal
>
> Cassandra ships with a number of very useful
> [tools|https://cassandra.apache.org/doc/5.0/cassandra/managing/tools/sstable/index.html]
> for interacting with SSTables for debugging, such as sstablemetadata,
> sstableexpiredblockers. The scope of this ticket is to provide endpoints in
> Sidecar which lets a user run these tools against the SSTables on the local
> node and return the results to the caller.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]