Reputation: 5508
If I deleted
a value in a cell from a table, but later, I want to recover it back, how can I do it?
I know that, cassandra doesn’t really delete data, it just mark it as deleted, so how can I recover the data?
Usecase for example: I want to delete all information from a user, so I first delete the information in cassandra database, then, I try to delete his information in somewhere else, but it comes to an error, so I have to stop the deletion process and recover the deleted data from cassandra database.
How can I do that?
Upvotes: 2
Views: 1720
Reputation: 2982
Unfortunately not. You could however use sstabledump (Cassandra >= 3.0) to inspect sstable contents, but there are some drawbacks:
Probably there are some other drawbacks that I miss right now.
Some workarounds
Choosing the right solution I guess depends on your use case and the size of your data.
Upvotes: 3