lihanyu1715446406-afk commented on PR #11505: URL: https://github.com/apache/rocketmq/pull/11505#issuecomment-7381500696
Thanks for reproducing the consumer-visible differences. I agree about `WAIT`: I will clear the scheduling properties, serialize while the original `WAIT` value is still present, and only then call `setWaitStoreMsgOK(false)` for the broker's internal put. I will assert the decoded delivered properties (including `WAIT` and `TIMER_DELAY_SEC`) in the existing delivery test. For `message_type`, I traced `GrpcConverter#buildSystemProperties` to `TopicMessageType.parseFromMessageProperty`. In this path it identifies `DELAY` only from the scheduling properties that #11037 asks us to remove from the persisted real-topic message. Once they are removed, the converter has no remaining indication that this was originally delayed. Preserving both the old gRPC `DELAY` result and the no-leak behavior would require a separate durable origin signal or a broader converter change. Which contract should this PR follow: preserve the stored `DELAY` property for compatibility (narrowing #11037), or remove it as the issue requests and treat the delivered message as `NORMAL`? I can implement and test the `WAIT` correction while we settle that behavior. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
