dragonboat
dragonboat copied to clipboard
Missing VFS lib when building
Dragonboat version
v3.3.4
Expected behavior
Able to run go get
Actual behavior
Running go get produces the following error: go: finding module for package github.com/lni/goutils/vfs go: github.com/myrepo/myproject/cluster imports github.com/lni/dragonboat/v3 imports github.com/lni/dragonboat/v3/internal/logdb imports github.com/lni/goutils/vfs: module github.com/lni/goutils@latest found (v1.4.0), but does not contain package github.com/lni/goutils/vfs
Steps to reproduce the behavior
Empty go.mod and run go get
I also noticed this while attempting to build old versions of dragonboat-example to compare historical performance.
I never understood why it was happening though, because dragonboat 3.3.*
is supposed to be pinned to goutils v1.3.0
https://github.com/lni/dragonboat/blob/v3.3.4/go.mod#L10
I believe the root issue is that Dragonboat is using an old version of Pebble, and the solution is to support the latest version.