Skip to content

[Bug]: logservice should reject unknown RPC command instead of panic #11282

Closed

Description

@aylei

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Environment

- Version or commit-id (e.g. v0.1.0 or 8b23a93): 2a5eca934ed63d33c1c6fe2a9113a112821105ff
- Hardware parameters:
- OS type:
- Others:

Actual Behavior

LogService panic when a client send an unknown rpc command to HAKeeper.

Expected Behavior

LogService should reject the unknown command (raise an error on the client-side) instead of panic.

Steps to Reproduce

No response

Additional information

No response

Activity

  1. added
    kind/bug
    on Aug 17, 2023
  2. added this to the 1.0.0 milestone on Aug 17, 2023
  3. volgariver6 commented on Aug 19, 2023

    @volgariver6
    Contributor

    fixed.

  4. added
    severity/s0
    on Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bugseverity/s0

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions