Recover one or few node's db from corruption #14525
Unanswered
hasethuraman
asked this question in
Q&A
Replies: 1 comment 2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am thinking these scenarios.
(1)
Have 3 etcd instances and say one of the etcd (follower) crashed and started reporting database corruption. Etcd read and write will continue to work as long as other 2 etcd instances are undisturbed.
Can I take a snapshot from the leader and recover this instance?
If yes, I am wondering if there is a data loss. Because a snapshot is nothing but a copy of the database which wont have WAL entries. If my thought is correct, how does the follower instance will learn the entries from WAL in other nodes?
(2)
Same question as above when two followers are crashed - etcd cluster will become inoperable. I hope still I can take a snapshot and recover. Same concern as in first how WAL entries from other nodes are learned.
(3)
When one follower and leader crash due to corrupted database. I hope with kv loss, I can take a snapshot from the follower (which doesnt have db corruption) and recover with kv loss.
Please guide.
Thanks
Hari
Beta Was this translation helpful? Give feedback.
All reactions