Skip to content

关于VIP_CHANNEL疑问 #3889

@xiaohei88

Description

@xiaohei88

BUG REPORT

  1. Please describe the issue you observed:

问题描述

生产者通过VIP通道发送消息,假如,每天发送100条,量不大。服务端有个AllIdleTimeoutTask任务,判断通道是否空闲,如果120秒没使用,就关闭了。主通道因为有心跳每30秒一次,刷新lastWriteTime值,所以主通道基本上不会关闭。但是vip通道没有心跳,所以如果发送量不大,超过时间就会关闭。

疑问

假如生产者通过vip通道发送消息,请求过来了,但是还没来得及刷新lastWriteTime或者lastReadTime值,AllIdleTimeoutTask这个时候正好将通道关闭了。
客户端报错,超时。wait response on the channel <:10909> timeout, 10000(ms)。服务端日志正好是10秒之前有个closeChannel: close the connection to remote address。
会有以上我说的这个问题么

  1. Please tell us about your environment:
    rocketmq 4.3.0

  2. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
    brokerRole=ASYNC_MASTER
    flushDiskType=ASYNC_FLUSH

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions