We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I get two kinds of error messages when I exec kvrock2redis like this:
data-dir
Failed to load config, err: NotFound:
Failed to load config, err: No such file or directory
I think it need a more accurate error message to distinguish this two cases.
Maybe the simpliest way to solve this problem is to append + data_dir after s.ToString(): https://github.com/apache/incubator-kvrocks/blob/c391953f92fc03b4d22e100a42024a898f3fae47/tools/kvrocks2redis/config.cc#L143
+ data_dir
s.ToString()
The text was updated successfully, but these errors were encountered:
This improvement makes sense to me
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Search before asking
Motivation
I get two kinds of error messages when I exec kvrock2redis like this:
data-dir
in config file is an unexist path, it showsFailed to load config, err: NotFound:
Failed to load config, err: No such file or directory
I think it need a more accurate error message to distinguish this two cases.
Solution
Maybe the simpliest way to solve this problem is to append
+ data_dir
afters.ToString()
:https://github.com/apache/incubator-kvrocks/blob/c391953f92fc03b4d22e100a42024a898f3fae47/tools/kvrocks2redis/config.cc#L143
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: