Skip to content

fix KeyException no retry & no detail error msg #778

Open

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:

Activity

  1. added
    type/bug
    on Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions