Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify bbolt require #171

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading