Skip to content

The default sendMsgTimeout is not reasonable for SYNC_FLUSH and SYNC_MASTER #5657

@wysobj

Description

@wysobj

In RocketMQ 4.8.x and 4.9.x, while configurate the broker as SYNC_FLUSH, the timeout for broker to flush data to disk is 5000ms by default. Is it reasonable to set the default sendMsgTimeout as 3000ms for DefaultMQProducer? It seems the FLUSH_DISK_TIMEOUT / FLUSH_SLAVE_TIMEOUT error code can not been correctly passed to producer client when broker data flushing actually takes more than 3000ms.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions