Skip to content

[Remoting] There is a redundant waiting for response when request send fail in sync mode. #2530

@fantow

Description

@fantow

BUG REPORT

  1. Please describe the issue you observed:
    There is a redundant wait for response when request send fail in sync mode.
    In my opinion,we should just throw a sendFail Exception rather than waiting until overtime because when request send fail.
    Obviously,it can not get it's response.

U can find this code in org.apache.rocketmq.remoting.netty.NettyRemotingAbstract#invokeSyncImpl.

RocketMQ1

If this is an issue,may I submit a PR to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions