[
https://issues.apache.org/jira/browse/ARTEMIS-3751?focusedWorklogId=757651&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-757651
]
ASF GitHub Bot logged work on ARTEMIS-3751:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 17/Apr/22 10:16
Start Date: 17/Apr/22 10:16
Worklog Time Spent: 10m
Work Description: iliya-gr opened a new pull request, #4030:
URL: https://github.com/apache/activemq-artemis/pull/4030
It is possible to receive a compressed message from the client as regular
message. Such a message will already contain correct body size, that takes
compression into account.
Issue Time Tracking
-------------------
Worklog Id: (was: 757651)
Remaining Estimate: 0h
Time Spent: 10m
> Artemis cuts off large bytes messages with compression that exceed the
> minimal large message size
> -------------------------------------------------------------------------------------------------
>
> Key: ARTEMIS-3751
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3751
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: JMS
> Affects Versions: 2.18.0, 2.20.0
> Reporter: Alvin Kwekel
> Priority: Major
> Attachments: image-2022-03-30-12-21-21-351.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Messages are cut off meaning that the message is only partially written to
> the broker. The messages are stored in incomplete form in the
> "large-messages" directory. No exception is thrown. Consumers inevitably
> also get the incomplete partial messages.
>
> To reproduce
> - Message size must exceed the minimal large message size
> - Message size must be less than twice the minimal large message size
> - Minimal large message size must be more than about 1MiB
> - Large message compression must be enabled
> - Message must be a JMS bytes message
> - If messages are smaller than the minimal large message size there is no
> issue
> - If messages are twice as big as the minimal large message size there is no
> issue
> - If the minimal large message size is less than about 1MiB there is no issue
> - If large messages are not compressed there is no issue
> - If the message is a text message there is no issue
> Tested with both Artemis client version 2.18.0 and 2.20.0 while my Artemis
> server is at 2.20.0
> I've created a project that reproduces the issues:
> [https://github.com/alvinkwekel/artemis-large-message-cutoff]
> !image-2022-03-30-12-21-21-351.png!
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)