Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restart etcd panic with unexpected smaller revision in mvcc #7011

Closed
siddontang opened this issue Dec 15, 2016 · 14 comments
Closed

restart etcd panic with unexpected smaller revision in mvcc #7011

siddontang opened this issue Dec 15, 2016 · 14 comments
Labels

Comments

@siddontang
Copy link
Contributor

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 e53b995

@xiang90
Copy link
Contributor

xiang90 commented Dec 15, 2016

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

@xiang90
Copy link
Contributor

xiang90 commented Dec 15, 2016

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

@siddontang
Copy link
Contributor Author

@xiang90

pd.tar.gz

@siddontang
Copy link
Contributor Author

We will update the etcd and try to reproduce it.

@xiang90
Copy link
Contributor

xiang90 commented Dec 15, 2016

Thanks

@xiang90
Copy link
Contributor

xiang90 commented Dec 16, 2016

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

@xiang90
Copy link
Contributor

xiang90 commented Dec 16, 2016

Opened an issue on upstream boltdb: boltdb/bolt#632

@hongchaodeng hongchaodeng changed the title restart etcd panic with unexpected samller revision in mvcc restart etcd panic with unexpected smaller revision in mvcc Dec 16, 2016
@xiang90
Copy link
Contributor

xiang90 commented Jun 14, 2017

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

@xiang90 xiang90 closed this as completed Jun 14, 2017
@gaddamas
Copy link

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.

@pacoxu
Copy link
Contributor

pacoxu commented Sep 4, 2018

image

@fOO223Fr
Copy link

any update on this problem?

1 similar comment
@seamounts
Copy link

any update on this problem?

@liangguohun
Copy link

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

@drtechco
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

8 participants