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
KeyException is known problem no need retry & no detail error msg
private boolean retryableException(Exception e) { return e instanceof TiClientInternalException || e instanceof KeyException || e instanceof RegionException || e instanceof StatusRuntimeException; }
public KeyException(Kvrpcpb.KeyError keyErr) { super("Key exception occurred"); this.keyErr = keyErr; }
private boolean retryableException(Exception e) { return e instanceof TiClientInternalException || e instanceof RegionException || e instanceof StatusRuntimeException; }
public KeyException(Kvrpcpb.KeyError keyErr) { super("Key exception occurred " + keyErr.toString()); this.keyErr = keyErr; }
The text was updated successfully, but these errors were encountered:
fix KeyException no retry & no detail error msg(tikv#778)
2be0907
No branches or pull requests
Bug Report
1. Describe the bug
KeyException is known problem no need retry & no detail error msg
private boolean retryableException(Exception e) {
return e instanceof TiClientInternalException
|| e instanceof KeyException
|| e instanceof RegionException
|| e instanceof StatusRuntimeException;
}
public KeyException(Kvrpcpb.KeyError keyErr) {
super("Key exception occurred");
this.keyErr = keyErr;
}
2. Minimal reproduce step (Required)
3. What did you see instead (Required)
4. What did you expect to see? (Required)
private boolean retryableException(Exception e) {
return e instanceof TiClientInternalException
|| e instanceof RegionException
|| e instanceof StatusRuntimeException;
}
public KeyException(Kvrpcpb.KeyError keyErr) {
super("Key exception occurred " + keyErr.toString());
this.keyErr = keyErr;
}
5. What are your Java Client and TiKV versions? (Required)
The text was updated successfully, but these errors were encountered: