-
Notifications
You must be signed in to change notification settings - Fork 728
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
keypath: remove rootPath from storage and change all paths to absolute path #8919
Conversation
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
Skipping CI for Draft Pull Request. |
Signed-off-by: okJiang <[email protected]>
@@ -36,10 +33,6 @@ func NewManager(srv bs.Server) *Manager { | |||
// The first initialization after the server is started. | |||
srv.AddStartCallback(func() { | |||
log.Info("meta storage starts to initialize", zap.String("name", srv.Name())) | |||
m.storage = endpoint.NewStorageEndpoint( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is unused.
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
/retest |
Signed-off-by: okJiang <[email protected]>
/retest |
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
/retest |
Signed-off-by: okJiang <[email protected]>
/retest |
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
pkg/storage/kv/etcd_kv.go
Outdated
@@ -70,11 +70,8 @@ func (kv *etcdKVBase) Load(key string) (string, error) { | |||
func (kv *etcdKVBase) LoadRange(key, endKey string, limit int) ([]string, []string, error) { | |||
var OpOption []clientv3.OpOption | |||
// If endKey is "\x00", it means to scan with prefix. | |||
// If the prefix is empty, it means to scan all keys. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// If the prefix is empty, it means to scan all keys. | |
// If the key is empty and endKey is "\x00", it means to scan all keys. |
Signed-off-by: okJiang <[email protected]>
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JmPotato, rleungx The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
…e path (tikv#8919) close tikv#8582 Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com> Signed-off-by: okJiang <[email protected]>
What problem does this PR solve?
Issue Number: Close #8582
What is changed and how does it work?
Check List
Tests
Release note