Skip to content

Commit

Permalink
migrate unistore core lib code to tidb repo for removing tidb depende…
Browse files Browse the repository at this point in the history
…ncy on unistore (#444)
  • Loading branch information
hslam authored Apr 9, 2021
1 parent e8d95fb commit 6c1e196
Show file tree
Hide file tree
Showing 60 changed files with 335 additions and 10,144 deletions.
2 changes: 1 addition & 1 deletion cmd/unistore-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ import (

"github.com/BurntSushi/toml"
"github.com/ngaut/unistore/config"
"github.com/ngaut/unistore/pd"
"github.com/ngaut/unistore/server"
"github.com/pingcap/badger"
"github.com/pingcap/badger/y"
"github.com/pingcap/kvproto/pkg/deadlock"
"github.com/pingcap/kvproto/pkg/tikvpb"
"github.com/pingcap/log"
"github.com/pingcap/tidb/store/mockstore/unistore/pd"
"github.com/zhangjinpeng1987/raft"
"go.uber.org/zap"
"google.golang.org/grpc"
Expand Down
15 changes: 4 additions & 11 deletions go.mod1
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,26 @@ require (
github.com/BurntSushi/toml v0.3.1
github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f // indirect
github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548
github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2
github.com/gogo/protobuf v1.3.2
github.com/frankban/quicktest v1.11.3 // indirect
github.com/golang/protobuf v1.3.4
github.com/google/btree v1.0.0
github.com/gorilla/websocket v1.4.1 // indirect
github.com/grpc-ecosystem/grpc-gateway v1.14.3 // indirect
github.com/onsi/ginkgo v1.9.0 // indirect
github.com/onsi/gomega v1.6.0 // indirect
github.com/pierrec/lz4 v2.5.2+incompatible
github.com/pingcap/badger v1.5.1-0.20200908111422-2e78ee155d19
github.com/pingcap/check v0.0.0-20200212061837-5e12011dc712
github.com/pingcap/errors v0.11.5-0.20201126102027-b0a155152ca3
github.com/pingcap/kvproto v0.0.0-20210402093459-65aa336ccbbf
github.com/pingcap/log v0.0.0-20201112100606-8f1e84a3abc8
github.com/pingcap/tidb v1.1.0-beta.0.20210312092730-6b69883410f3
github.com/pingcap/tipb v0.0.0-20210309080453-72c4feaa6da7
github.com/prometheus/client_golang v1.5.1
github.com/pingcap/kvproto v0.0.0-20210308063835-39b884695fb8
github.com/pingcap/log v0.0.0-20210317133921-96f4fcab92a4
github.com/pingcap/tidb v1.1.0-beta.0.20210407104700-3d8084e972d1
github.com/shirou/gopsutil v3.21.2+incompatible
github.com/spaolacci/murmur3 v1.1.0 // indirect
github.com/stretchr/testify v1.6.1
github.com/tikv/pd v1.1.0-beta.0.20210323121136-78679e5e209d
github.com/uber-go/atomic v1.4.0
github.com/zhangjinpeng1987/raft v0.0.0-20200819064223-df31bb68a018
go.etcd.io/bbolt v1.3.4 // indirect
go.uber.org/zap v1.16.0
golang.org/x/lint v0.0.0-20200302205851-738671d3881b // indirect
golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4
golang.org/x/time v0.0.0-20191024005414-555d28b269f0
google.golang.org/grpc v1.27.1
sigs.k8s.io/yaml v1.2.0 // indirect
Expand Down
160 changes: 132 additions & 28 deletions go.sum1

Large diffs are not rendered by default.

158 changes: 0 additions & 158 deletions lockstore/arena.go

This file was deleted.

88 changes: 0 additions & 88 deletions lockstore/iterator.go

This file was deleted.

Loading

0 comments on commit 6c1e196

Please sign in to comment.