Etcd: restart etcd panic with unexpected smaller revision in mvcc

Created on 15 Dec 2016  Â·  13Comments  Â·  Source: etcd-io/etcd

I use docker-compose to start pd cluster (mount pd data to local directory), and when I recreate the cluster with docker-compose up -d --force-recreate, I meet following panic:

2016/12/15 09:43:35 util.go:329: [info] I | membership: [set the cluster version to 3.0 from store]
2016/12/15 09:43:36 util.go:321: [fatal] C | mvcc: [store.keyindex: put with unexpected smaller revision [{65178 0} / {65178 0}]]

The embed etcd version is e53b99588a05d1f4ef172c178d4ed8e8106b8be4

arebug

Most helpful comment

any update on this problem?

All 13 comments

Do you still have the data dir around. Mind sharing that broken data dir?

If you can reproduce the problem, can you try to update the etcd version to current master and see if you can still reproduce?

@xiang90

pd.tar.gz

We will update the etcd and try to reproduce it.

Thanks

@siddontang I can confirm this is a bug. Probably from upstream boltdb. We will investigate more.

Opened an issue on upstream boltdb: https://github.com/boltdb/bolt/issues/632

Never hit this again. It seems like a bug outside etcd system really. Closing.

I got similar message "mvcc: store.keyindex: put with unexpected smaller revision [{200001 0} / {200001 0}]. what does it mean? could you please give technical description.

image

any update on this problem?

any update on this problem?

how did you do to fix it, and keep your data..

Was this page helpful?
0 / 5 - 0 ratings