Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

can't update br to the newest version in lightning #457

@glorv

Description

@glorv

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    If possible, provide a recipe for reproducing the error.
    When I try to update pingcap/br version in lightning use go get -u github.com/pingcap/br@1ab851170883ffb4959d1d642ddbb159b1eb84c5 The go get failed with:
...
go: finding github.com/ngaut/pools latest
go get: github.com/uber-go/atomic@v1.3.2 updating to
	github.com/uber-go/atomic@v1.6.0: parsing go.mod:
	module declares its path as: go.uber.org/atomic
	        but was required as: github.com/uber-go/atomic

According to https://github.com/uber-go/atomic if add following to lightning's go.mod:

replace github.com/uber-go/atomic => github.com/uber-go/atomic v1.4.0

The error will change to:

$ go get -u github.com/pingcap/br@1ab851170883ffb4959d1d642ddbb159b1eb84c5
go get: github.com/coreos/bbolt@v1.3.2 updating to
	github.com/coreos/bbolt@v1.3.5: parsing go.mod:
	module declares its path as: go.etcd.io/bbolt
	        but was required as: github.com/coreos/bbolt
  1. What did you expect to see?

  2. What did you see instead?

  3. What version of BR and TiDB/TiKV/PD are you using?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions