dragonboat icon indicating copy to clipboard operation
dragonboat copied to clipboard

Missing VFS lib when building

Open jeremyhahn opened this issue 1 year ago • 2 comments

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

jeremyhahn avatar Feb 06 '24 12:02 jeremyhahn

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

kevburnsjr avatar May 23 '24 12:05 kevburnsjr

I believe the root issue is that Dragonboat is using an old version of Pebble, and the solution is to support the latest version.

jeremyhahn avatar May 23 '24 13:05 jeremyhahn