Skip to content

Commit

Permalink
Correct the nodetool clearsnapshot in cassandra bluerpint (#2596)
Browse files Browse the repository at this point in the history
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
viveksinghggits and mergify[bot] authored Jan 10, 2024
1 parent 858bc9b commit 654951e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/cassandra/cassandra-blueprint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ actions:
- -c
- |
nodetool cleanup
nodetool clearsnapshot
nodetool clearsnapshot --all
nodetool snapshot -t ${HOSTNAME}
snapshot_prefix="{{ .Phases.getBackupPrefixLocation.Output.localSnapshotPrefixLocation }}"
mkdir -p ${snapshot_prefix}/${HOSTNAME}
Expand All @@ -62,7 +62,7 @@ actions:
cd ${snapshot_prefix}/${HOSTNAME}/
cqlsh -u cassandra -p $CASSANDRA_PASSWORD -e "DESCRIBE SCHEMA" > schema.cql
fi
nodetool clearsnapshot
nodetool clearsnapshot --all
- func: BackupDataAll
name: backupToObjectStore
args:
Expand Down

0 comments on commit 654951e

Please sign in to comment.