admin管理员组文章数量:1287562
Anyone experienced backup and restore database actions with cassandra with time set to the past between backup and restore?
I tried this:
- backup a keyspace via nodetool snapshot
- export keyspace schema to file
- drop keyspace from db
- set time to the past, e.g. 2 hours
- import schema from point 2. As a result I get inconsistencies in db: desc keyspace shows the keyspace as being available but running *select * from my_keyspace.my_table * gives error that keyspace does not exist. I know cassandra is sensitive in terms of time change, however I have a k8s cluster with cassandra db pod and my app pod in which it is required to allow the user possibility to change the system time. Thanks
本文标签: backup and restore cassandra db while changing time in the past between operationsStack Overflow
版权声明:本文标题:backup and restore cassandra db while changing time in the past between operations - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741277773a2369830.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论