Skip to content

Etcd failed to open database with error Invalid database on s390x machine #18436

Closed Answered by ahrtr
mitiao asked this question in Q&A
Discussion options

You must be logged in to vote

It's expected behaviour. You can't move db file from one platform to another platform, because different platforms may have different pageSize and endian. You can compare the differences using https://github.com/ahrtr/systeminfo.

Building a cluster using machines from different platforms might be feasible in the beginning. But it will be problematic once sending a snapshot from the leader to a follower with a different platform. But of course, I do not have such environment to test it out.

So the suggest for now is to always use machines with the same systeminfo (pageSize and endian) to run an etcd cluster.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jmhbnz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants