You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@artemis.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2026/08/26 18:56:00 UTC

[jira] [Updated] (ARTEMIS-6211) Clarify logging for duplicate QoS2 publish packets

     [ https://issues.apache.org/jira/browse/ARTEMIS-6211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Bertram updated ARTEMIS-6211:
------------------------------------
    Description: When the broker receives a {{PUBLISH}} via QoS 2 where the packet ID is already in-use this could be considered an expected retransmission (i.e., client didn't receive the {{PUBREC}} and realizes it's sending a duplicate by setting {{DUP=1}}) or an unexpected retransmission (i.e., the client has no idea it's reusing an in-flight packet ID so leaves {{DUP=0}}). Logging on the broker should reflect this difference. Currently *any* retransmission generates a {{WARN}} in the log which might be confusing to users when everything is working as it should.  (was: When the broker receives a {{PUBLISH}} via QoS 2 where the packet ID is already in-use this could be considered an expected retransmission (i.e., client didn't receive the {{PUBREC}} and realizes it's sending a duplicate by setting {{DUP=1}}) or an unexpected retransmission (i.e., the client has no idea it's reusing an in-flight packet ID so leaves {{DUP=0}}). Logging on the broker should reflect this difference. Currently *any* retransmission generates a {{WARN}} in the log.)

> Clarify logging for duplicate QoS2 publish packets
> --------------------------------------------------
>
>                 Key: ARTEMIS-6211
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-6211
>             Project: Artemis
>          Issue Type: Improvement
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>
> When the broker receives a {{PUBLISH}} via QoS 2 where the packet ID is already in-use this could be considered an expected retransmission (i.e., client didn't receive the {{PUBREC}} and realizes it's sending a duplicate by setting {{DUP=1}}) or an unexpected retransmission (i.e., the client has no idea it's reusing an in-flight packet ID so leaves {{DUP=0}}). Logging on the broker should reflect this difference. Currently *any* retransmission generates a {{WARN}} in the log which might be confusing to users when everything is working as it should.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@artemis.apache.org
For additional commands, e-mail: issues-help@artemis.apache.org