import/lightning: Allow creation of parent directories for sorted-kv-dir #58667
Labels
component/lightning
This issue is related to Lightning of TiDB.
type/enhancement
The issue or PR belongs to an enhancement.
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 withsorted-kv-dir
. This change would provide greater flexibility for users, allowing them to specify paths without worrying about manually creating the parent directories first.The text was updated successfully, but these errors were encountered: