scalar-labs / cassy Goto Github PK
View Code? Open in Web Editor NEWA simple and integrated backup tool for Apache Cassandra
License: Apache License 2.0
A simple and integrated backup tool for Apache Cassandra
License: Apache License 2.0
Describe the bug
The cluster-wide restoration process restores only cluster-wide snapshots, it does not restore the incremental backup created with cluster-wide snapshot id.
To Reproduce
Steps to reproduce the behavior:
$ ssh -F ssh.cfg -L 20051:localhost:20051 cassy-1.internal.scalar-labs.com
$ grpcurl -plaintext -d '{"cassandra_host": "<cassandra node 1 ip>"}' localhost:20051 rpc.Cassy.RegisterCluster
$ grpcurl -plaintext -d '{"cluster_id": "CLUSTER-ID", "backup_type": 1}' localhost:20051 rpc.Cassy.TakeBackup
$ grpcurl -plaintext -d '{"cluster_id": "CLUSTER-ID", "snapshot_id": "SNAPSHOT-ID", "backup_type": 3}' localhost:20051 rpc.Cassy.TakeBackup
$ grpcurl -plaintext -d '{"snapshot_id": "SNAPSHOT-ID", "restore_type": 1, "cluster_id": "CLUSTER-ID"}' localhost:20051 rpc.Cassy.RestoreBackup
Expected behavior
Restore snapshot with incremental backup files to all nodes
Actual behavior
Snapshots are properly restored.
Incremental backup files are not restored.
Environment Details
Test environment: Azure
Cassy version: 1.2.0
Additional Details
Restore is working fine while we execute cluster-wide restore with the incremental backup restore.
$ grpcurl -plaintext -d '{"snapshot_id": "SNAPSHOT-ID", "restore_type": 1, "cluster_id": "CLUSTER-ID"}' localhost:20051 rpc.Cassy.RestoreBackup
$ grpcurl -plaintext -d '{"snapshot_id": "SNAPSHOT-ID", "restore_type": 2, "cluster_id": "CLUSTER-ID"}' localhost:20051 rpc.Cassy.RestoreBackup
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.