Skip to content

fix KeyException no retry & no detail error msg #778

Open
@jackjeyis

Description

@jackjeyis

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)

  • Client Java: 3.3.5
  • TiKV:

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions