Skip to content

Conversation

xujianhai666
Copy link
Member

motivation

producer send message to retry topic directly, broker will panic
because maxReconsumeTimes is null and convert to int.

changes

add null check for maxReconsumeTimes

Closes #1843

producer send message to retry topic directly, broker will panic
because maxReconsumeTimes is null and convert to int.

add null check for maxReconsumeTimes

Closes apache#1843
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 50.898% when pulling ed16a84 on xujianhai666:fix-retry-panic into 3974677 on apache:develop.

@xujianhai666 xujianhai666 changed the title fix: broker panic when producer send to retry topic [ISSUE #1843] fix: broker panic when producer send to retry topic Mar 15, 2020
@ShannonDing ShannonDing changed the title [ISSUE #1843] fix: broker panic when producer send to retry topic [ISSUE #1843] Fix broker error when producer send to retry topic Mar 16, 2020
Copy link
Contributor

@superleo-cn superleo-cn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Approved.

@yuz10 yuz10 merged commit 86c1216 into apache:develop Dec 20, 2021
tianliuliu pushed a commit to tianliuliu/rocketmq that referenced this pull request Dec 21, 2021
…ic (apache#1844)

producer send message to retry topic directly, broker will panic
because maxReconsumeTimes is null and convert to int.

add null check for maxReconsumeTimes

Closes apache#1843
devfat pushed a commit to devfat/rocketmq that referenced this pull request Mar 3, 2022
…ic (apache#1844)

producer send message to retry topic directly, broker will panic
because maxReconsumeTimes is null and convert to int.

add null check for maxReconsumeTimes

Closes apache#1843
GenerousMan pushed a commit to GenerousMan/rocketmq that referenced this pull request Aug 12, 2022
…ic (apache#1844)

producer send message to retry topic directly, broker will panic
because maxReconsumeTimes is null and convert to int.

add null check for maxReconsumeTimes

Closes apache#1843
carlvine500 pushed a commit to carlvine500/rocketmq-apache that referenced this pull request Sep 10, 2024
…ic (apache#1844)

producer send message to retry topic directly, broker will panic
because maxReconsumeTimes is null and convert to int.

add null check for maxReconsumeTimes

Closes apache#1843
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants