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

import/lightning: Allow creation of parent directories for sorted-kv-dir #58667

Open
OliverS929 opened this issue Jan 2, 2025 · 1 comment · May be fixed by #58668
Open

import/lightning: Allow creation of parent directories for sorted-kv-dir #58667

OliverS929 opened this issue Jan 2, 2025 · 1 comment · May be fixed by #58668
Labels
component/lightning This issue is related to Lightning of TiDB. type/enhancement The issue or PR belongs to an enhancement.

Comments

@OliverS929
Copy link
Contributor

Enhancement

Currently, when using Lightning's import functionality, an error is returned if the parent directory of the sorted-kv-dir specified in the configuration does not exist. We could enhance this behavior by automatically creating the parent directory along with sorted-kv-dir. This change would provide greater flexibility for users, allowing them to specify paths without worrying about manually creating the parent directories first.

@OliverS929 OliverS929 added the type/enhancement The issue or PR belongs to an enhancement. label Jan 2, 2025
@OliverS929
Copy link
Contributor Author

/component lightning

@ti-chi-bot ti-chi-bot bot added the component/lightning This issue is related to Lightning of TiDB. label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/lightning This issue is related to Lightning of TiDB. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant