-
Notifications
You must be signed in to change notification settings - Fork 642
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
iterate returns duplicate keys #299
Comments
I couldn't reproduce this issue using bbolt 1.3.6 on db files generated on both etcd 3.4.13 and 3.5.0. If you see this issue, please provide the db file and let me know the etcd version. |
@ahrtr , all information is in etcd-io/etcd#13456 and etcd-io/etcd#7011 |
All I can recommend is to follow similar investigation to: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Original issue: boltdb/bolt#632 by @xiang90
I expect iterating a bucket with cursor return keys in order, but it would return duplicated keys.
Here is the data
And here is the script to reproduce the problem
Here is the output:
Am I missing something?
The key
\x00\x00\x00\x00\x00\x00\xfe\x9c_\x00\x00\x00\x00\x00\x00\x00\x00
shows up twice during cursor iterating.There are examples and much more in boltdb/bolt#632 -- please go there and take a look
The text was updated successfully, but these errors were encountered: