Repository navigation
fix parseMessageMetadata error cause by not skip broker entry metadata - #10968
Conversation
|
/pulsarbot run-failure-checks |
|
@aloyszhang Would it be able to add some tests that verify the behavior? A failing test is a good starting point for fixing a bug. |
|
It seems that pulsar/pulsar-common/src/main/java/org/apache/pulsar/common/protocol/Commands.java Lines 1670 to 1671 in f25b4a5 pulsar/pulsar-common/src/main/java/org/apache/pulsar/common/protocol/Commands.java Lines 1685 to 1686 in f25b4a5 It seems that this inconsistency would have to be resolved. |
|
I agree with @lhotari, the extra call of Regarding to the unit tests, I think the existed tests already cover the cases when broker entry metadata is not enabled. For the case that broker entry metadata is enabled, some tests have been added to /cc @wuzhanpeng |
|
@BewareMyPower @lhotari I'll remove the extra call of |
|
/pulsarbot run-failure-checks |
|
@lhotari @BewareMyPower PTAL |
apache#10968) Fixes apache#10967 ### Motivation fix parseMessageMetadata error cause by not skip broker entry metadata ### Modifications skip broker entry metadata if exist before parsing message metadata
apache#10968) Fixes apache#10967 ### Motivation fix parseMessageMetadata error cause by not skip broker entry metadata ### Modifications skip broker entry metadata if exist before parsing message metadata (cherry picked from commit 0774b5f)
…ageMetadata (#767) Related to apache/pulsar#10968
…ageMetadata (#767) Related to apache/pulsar#10968
apache#10968) Fixes apache#10967 ### Motivation fix parseMessageMetadata error cause by not skip broker entry metadata ### Modifications skip broker entry metadata if exist before parsing message metadata
Fixes #10967
Motivation
fix parseMessageMetadata error cause by not skip broker entry metadata
Modifications
skip broker entry metadata if exist before parsing message metadata