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
improve error report after users do something wrong in bootstrap...... #287
Comments
@siddontang As you mentioned, case one maybe |
yep, fixed. |
I think we should check the conflicted store address, if it has already in PD, we can return an error to let TiKV start failed. If you really want to start a new TiKV, you should remove the bad store through PD api(not supported now). |
Yes, as I said before, we need to check conflicted address with different store ID. |
Seems this has been solved, should we close this? |
yep |
Now we see some users delete PD data or TiKV data and then start the cluster again, of course this will fail, but the error message is not clear, which even confuses us.
We may meet two cases here:
key not in region
error.Let's explain case 2 in detail, assume we have 1 PD + 1 TiKV.
key not in region
error.So how do we tell user the correct error and let he/she deletes all data and then bootstraps the cluster again?
maybe we can:
/cc @ngaut @qiuyesuifeng @disksing @huachaohuang @overvenus
The text was updated successfully, but these errors were encountered: