Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch by Abi Palagashvili; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-16887 Co-authored-by: akihiro17 <akihiro17@users.noreply.github.com> Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
- Loading branch information
1 parent
f6707e6
commit c5a023a
Showing
8 changed files
with
105 additions
and
3 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
doc/modules/cassandra/examples/BASH/nodetool_clearsnapshot_all.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
$ nodetool clearsnapshot -all cqlkeyspace | ||
$ nodetool clearsnapshot --all cqlkeyspace |
27 changes: 27 additions & 0 deletions
27
doc/modules/cassandra/examples/RESULTS/cqlsh_list_snapshots.result
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
cqlsh> expand on; | ||
EXPAND set to ON | ||
cqlsh> select * from system_views.snapshots ; | ||
|
||
@ Row 1 | ||
---------------+--------------------------------- | ||
name | catalog-cql-ks | ||
keyspace_name | catalogkeyspace | ||
table_name | journal | ||
created_at | 2024-01-25 10:06:41.420000+0000 | ||
ephemeral | False | ||
expires_at | 2024-01-25 10:09:41.420000+0000 | ||
size_on_disk | 6279 | ||
true_size | 1143 | ||
|
||
@ Row 2 | ||
---------------+--------------------------------- | ||
name | catalog-cql-ks | ||
keyspace_name | catalogkeyspace | ||
table_name | magazine | ||
created_at | 2024-01-25 10:06:41.420000+0000 | ||
ephemeral | False | ||
expires_at | 2024-01-25 10:09:41.420000+0000 | ||
size_on_disk | 1125 | ||
true_size | 1125 | ||
|
||
(2 rows) |
3 changes: 3 additions & 0 deletions
3
doc/modules/cassandra/examples/RESULTS/nodetool_list_snapshot_empty.result
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
$ nodetool listsnapshots | ||
Snapshot Details: | ||
There are no snapshots |
5 changes: 5 additions & 0 deletions
5
doc/modules/cassandra/examples/RESULTS/nodetool_list_snapshots_ephemeral.result
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
$ nodetool listsnapshots -e | ||
Snapshot Details: | ||
Snapshot name Keyspace name Column family name True size Size on disk Creation time Expiration time Ephemeral | ||
catalog-cql-ks catalogkeyspace magazine 1.1 KiB 1.1 KiB 2024-01-25T10:01:59.745Z 2024-01-25T10:04:59.745Z false | ||
catalog-cql-ks catalogkeyspace journal 1.12 KiB 6.13 KiB 2024-01-25T10:01:59.745Z 2024-01-25T10:04:59.745Z false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
doc/modules/cassandra/examples/RESULTS/nodetool_snapshot_list_ttl_snapshots.result
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
$ nodetool listsnapshots | ||
Snapshot Details: | ||
Snapshot name Keyspace name Column family name True size Size on disk Creation time Expiration time | ||
catalog-journal catalogkeyspace journal 1.12 KiB 6.13 KiB 2024-01-25T09:45:31.820Z 2024-01-25T09:48:31.820Z |
3 changes: 3 additions & 0 deletions
3
doc/modules/cassandra/examples/RESULTS/nodetool_snapshot_take_ttl.result
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
$ nodetool snapshot --tag catalog-journal --ttl 3m catalogkeyspace.journal | ||
Requested creating snapshot(s) for [catalogkeyspace.journal] with snapshot name [catalog-journal] and options {skipFlush=false, ttl=3m} | ||
Snapshot directory: catalog-journal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters