Skip to content
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

config: resolve data path to absolute directory #2420

Merged
merged 2 commits into from
May 14, 2020

Conversation

breezewish
Copy link
Member

@breezewish breezewish commented May 14, 2020

Signed-off-by: Breezewish me@breeswish.org

What problem does this PR solve?

This PR resolves data path to an absolute directory, like what TiKV did.

This make PD instance to display correctly in TiDB Dashboard since TiDB Dashboard uses the data-directory to determine which disk information need to be displayed. Other paths are untouched for now.

What is changed and how it works?

Resolve to absolute directory in config adjust.

Check List

Tests

  • Manual test : After this change TiDB Dashboard becomes normal

  • Need to cherry-pick to the release branch

Release note

Resolve data directory to absolute path.

Signed-off-by: Breezewish <me@breeswish.org>
Signed-off-by: Breezewish <me@breeswish.org>
@HunDunDM
Copy link
Member

/run-all-tests

@HunDunDM
Copy link
Member

/merge

1 similar comment
@nolouch
Copy link
Contributor

nolouch commented May 14, 2020

/merge

@sre-bot sre-bot added the status/can-merge Indicates a PR has been approved by a committer. label May 14, 2020
@sre-bot
Copy link
Contributor

sre-bot commented May 14, 2020

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented May 14, 2020

@breeswish merge failed.

@sre-bot
Copy link
Contributor

sre-bot commented May 14, 2020

/run-all-tests

@HunDunDM HunDunDM added this to the v4.0.0-ga milestone May 14, 2020
@sre-bot sre-bot merged commit 2e9611e into tikv:master May 14, 2020
@breezewish breezewish deleted the canonicalize_data_dir branch May 14, 2020 07:56
@MyonKeminta MyonKeminta modified the milestones: v4.0.0-ga, v4.0.0-rc.2 May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/can-merge Indicates a PR has been approved by a committer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants