Skip to content

Commit

Permalink
modify bbolt require (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanxiaoqi932 authored Jan 8, 2025
1 parent d2bad43 commit 4f25258
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bptree.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion bptree_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand All @@ -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
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down

0 comments on commit 4f25258

Please sign in to comment.