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

Jordan West updated CASSANDRA-18023:
------------------------------------
    Test and Documentation Plan: Existing test suite plus sample output
                         Status: Patch Available  (was: Open)

Code: [https://github.com/apache/cassandra/compare/trunk...jrwest:jwest/18023]

Test Runs: 
[j8|https://app.circleci.com/pipelines/github/jrwest/cassandra/110/workflows/b1b3c268-ebd7-468a-bd74-876ce176c7be]
 
[j11|https://app.circleci.com/pipelines/github/jrwest/cassandra/110/workflows/e19e4309-a831-4674-be28-f001b39d50de]

Example output:
{code:java}
$ bin/nodetool getsstables foo bar 4
/home/jordanw/sbx/cass/oss/cassandra/data/data/foo/bar-a58b5910607011ed910347124b0dc061/nb-1-big-Data.db
/home/jordanw/sbx/cass/oss/cassandra/data/data/foo/bar-a58b5910607011ed910347124b0dc061/nb-2-big-Data.db
$ bin/nodetool getsstables foo bar 4 -l
0: 
/home/jordanw/sbx/cass/oss/cassandra/data/data/foo/bar-a58b5910607011ed910347124b0dc061/nb-1-big-Data.db
0: 
/home/jordanw/sbx/cass/oss/cassandra/data/data/foo/bar-a58b5910607011ed910347124b0dc061/nb-2-big-Data.db

$ bin/nodetool compact foo bar

$ bin/nodetool getsstables foo bar 4 -l
1: 
/home/jordanw/sbx/cass/oss/cassandra/data/data/foo/bar-a58b5910607011ed910347124b0dc061/nb-3-big-Data.db
 {code}

> Add option to print level with getsstables output
> -------------------------------------------------
>
>                 Key: CASSANDRA-18023
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18023
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tool/nodetool
>            Reporter: Jordan West
>            Assignee: Jordan West
>            Priority: Normal
>
> A common operation is to pipe getsstables output to sstablemetadata to 
> determine the level. This adds friction to operations. Add an optional flag 
> to getsstables to print the level with data file path. 



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

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

Reply via email to