diff --git a/bptree.go b/bptree.go index 0c96362..2cdd4d5 100644 --- a/bptree.go +++ b/bptree.go @@ -9,9 +9,9 @@ import ( "path/filepath" "github.com/google/uuid" + "github.com/lotusdblabs/bbolt" "github.com/rosedblabs/diskhash" "github.com/rosedblabs/wal" - "go.etcd.io/bbolt" "golang.org/x/sync/errgroup" ) diff --git a/bptree_test.go b/bptree_test.go index 1b1400c..f0c5ce3 100644 --- a/bptree_test.go +++ b/bptree_test.go @@ -10,10 +10,10 @@ import ( "github.com/cespare/xxhash/v2" "github.com/google/uuid" + "github.com/lotusdblabs/bbolt" "github.com/rosedblabs/wal" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.etcd.io/bbolt" ) func Test_openIndexBoltDB(t *testing.T) { diff --git a/go.mod b/go.mod index c48ccf4..2b0a525 100644 --- a/go.mod +++ b/go.mod @@ -10,12 +10,12 @@ require ( github.com/rosedblabs/diskhash v0.0.0-20230910084041-289755737e2a github.com/rosedblabs/wal v1.3.8 github.com/stretchr/testify v1.9.0 - go.etcd.io/bbolt v1.3.8 golang.org/x/sync v0.5.0 ) require ( github.com/go-ole/go-ole v1.2.6 // indirect + github.com/lotusdblabs/bbolt v1.3.9-0.20250108061345-78c23c59588d // indirect github.com/shirou/gopsutil v3.21.11+incompatible // indirect github.com/yusufpapurcu/wmi v1.2.4 // indirect ) @@ -38,5 +38,3 @@ require ( golang.org/x/sys v0.15.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) - -replace go.etcd.io/bbolt => github.com/yanxiaoqi932/bbolt v1.3.9-0.20240829105042-5b817c5f51f8 diff --git a/go.sum b/go.sum index 13977f4..36e8d8b 100644 --- a/go.sum +++ b/go.sum @@ -39,6 +39,8 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/lotusdblabs/bbolt v1.3.9-0.20250108061345-78c23c59588d h1:i/EWNmoH7M7wuKdp3/HCSvxQ4fhV7JjzRSKEc/4V1o4= +github.com/lotusdblabs/bbolt v1.3.9-0.20250108061345-78c23c59588d/go.mod h1:KkIQeRHCuU12hXTnyaowu5WgT7VUSLj3e8/XHLypwrU= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=