Skip to content

Commit

Permalink
support tidb's new rowformat input (ngaut#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
lysu authored and coocood committed Jan 3, 2020
1 parent 08bd38e commit 15763d1
Show file tree
Hide file tree
Showing 13 changed files with 230 additions and 1,261 deletions.
27 changes: 14 additions & 13 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,29 @@ require (
github.com/coocood/badger v1.5.1-0.20200103063934-0783c47f2699
github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548
github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2
github.com/golang/protobuf v1.3.1
github.com/golang/protobuf v1.3.2
github.com/grpc-ecosystem/grpc-gateway v1.5.1 // indirect
github.com/juju/errors v0.0.0-20181118221551-089d3ea4e4d5
github.com/juju/loggo v0.0.0-20180524022052-584905176618 // indirect
github.com/juju/testing v0.0.0-20180920084828-472a3e8b2073 // indirect
github.com/ngaut/log v0.0.0-20180314031856-b8e36e7ba5ac
github.com/pierrec/lz4 v2.0.5+incompatible
github.com/pingcap/check v0.0.0-20190102082844-67f458068fc8
github.com/pingcap/errors v0.11.4
github.com/pingcap/kvproto v0.0.0-20191202044712-32be31591b03
github.com/pingcap/parser v0.0.0-20190903084634-0daf3f706c76
github.com/pingcap/tidb v1.1.0-beta.0.20190904060835-0872b65ff1f9
github.com/pingcap/tipb v0.0.0-20191203131953-a35f738b4796
github.com/prometheus/client_golang v0.9.0
github.com/shirou/gopsutil v2.18.10+incompatible
github.com/stretchr/testify v1.3.0
github.com/pingcap/check v0.0.0-20191216031241-8a5a85928f12
github.com/pingcap/errors v0.11.5-0.20190809092503-95897b64e011
github.com/pingcap/kvproto v0.0.0-20191217072959-393e6c0fd4b7
github.com/pingcap/parser v0.0.0-20191230064650-03937644ab9b
github.com/pingcap/tidb v1.1.0-beta.0.20200103053909-324a4686f08e
github.com/pingcap/tipb v0.0.0-20191209145133-44f75c9bef33
github.com/prometheus/client_golang v1.0.0
github.com/shirou/gopsutil v2.19.10+incompatible
github.com/stretchr/testify v1.4.0
github.com/uber-go/atomic v1.3.2
github.com/zhangjinpeng1987/raft v0.0.0-20190624145930-deeb32d6553d
golang.org/x/net v0.0.0-20190620200207-3b0461eec859
go.etcd.io/bbolt v1.3.3 // indirect
golang.org/x/net v0.0.0-20190909003024-a7b16738d86b
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4
google.golang.org/grpc v1.17.0
google.golang.org/grpc v1.25.1
gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce // indirect
gopkg.in/stretchr/testify.v1 v1.2.2 // indirect
)

replace go.etcd.io/etcd => github.com/zhangjinpeng1987/etcd v0.0.0-20190226085253-137eac022b64
Expand Down
298 changes: 137 additions & 161 deletions go.sum

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"net/http"

"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
)

const (
Expand Down Expand Up @@ -96,5 +97,5 @@ func init() {
prometheus.MustRegister(LockUpdate)
prometheus.MustRegister(RaftBatchSize)
prometheus.MustRegister(LatchWait)
http.Handle("/metrics", prometheus.Handler())
http.Handle("/metrics", promhttp.Handler())
}
231 changes: 0 additions & 231 deletions rowcodec/common.go

This file was deleted.

Loading

0 comments on commit 15763d1

Please sign in to comment.