Skip to content

etcd key path is so difficult to read #8582

Open
@okJiang

Description

Enhancement Task

update them to string rather than several function nesting. In this case it is straightforward to use the function to generate the final key path yet, without any change in usage, but we can clearly see the format of each path.

https://github.com/tikv/pd/blob/master/pkg/storage/endpoint/key_path.go

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    type/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions