Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Upgrade from bolt to bbolt #1537

Closed
izaaklauer opened this issue May 25, 2021 · 0 comments · Fixed by #1631
Closed

Upgrade from bolt to bbolt #1537

izaaklauer opened this issue May 25, 2021 · 0 comments · Fixed by #1631
Assignees
Labels
Milestone

Comments

@izaaklauer
Copy link
Contributor

Boltdb is no longer maintained, and causes intermittent test failures. Bolt also causes a runtime crash when attempting to run go test with the -race flag.

Etcd maintains a fork, bbolt, that is api-compatible, actively maintained, and has addressed at least some of our issues.

It remains to be seen if bbolt's database file is structurally compatible with bolt's. If it is, it should be straightforward to swap out libraries. If not, we'll need to migrate users to the new database file on startup.

Prior work converting raft-boltdb for reference: hashicorp/raft-boltdb@22de16c

@izaaklauer izaaklauer added the new label May 25, 2021
@briancain briancain added core and removed new labels May 25, 2021
@briancain briancain added this to the 0.4.x milestone May 25, 2021
@izaaklauer izaaklauer self-assigned this Jun 4, 2021
izaaklauer added a commit that referenced this issue Jun 9, 2021
izaaklauer added a commit that referenced this issue Jun 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants