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

Erwin Dondorp updated ARTEMIS-3342:
-----------------------------------
    Description: 
When using "large" AMQP messages, the large message are stored properly on disk.

But the the messages are not flagged as "large" message.

(btw, CORE messages are properly marked as "large")

This has a big consequence as the messages are also not removed from disk when 
they expire.

see the following screen images:

I highlighted the message-ID to show that it is properly stored in the 
"large-messages" directory.
 The "largeMessage" field above it still shows "false"

!image-2021-06-11-14-40-13-673.png!

 

And on disk:

!image-2021-06-11-14-40-44-094.png!

 

Note that this was a durable message. the same effect is present for 
non-durable messages.

  was:
When using "large" AMQP messages, the large message are stored properly on disk.

But the web console still says that the message is not a large message.

(btw, CORE messages are properly marked as "large")

This has a big consequence: the messages are note removed from disk when they 
expire.

proof in the following screen images:

I highlighted the message-ID to show that it is properly stored in the 
"large-messages" directory.
 The "largeMessage" field above it still shows "false"

!image-2021-06-11-14-40-13-673.png!

 

And on disk:

!image-2021-06-11-14-40-44-094.png!

 

Note that this was a durable message. the same effect is present for 
non-durable messages.


> large AMQP messages do not keep their "large-message" property and leak files 
> on disk
> -------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-3342
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3342
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: 2.17.0
>            Reporter: Erwin Dondorp
>            Priority: Critical
>         Attachments: image-2021-06-11-14-40-13-673.png, 
> image-2021-06-11-14-40-44-094.png
>
>
> When using "large" AMQP messages, the large message are stored properly on 
> disk.
> But the the messages are not flagged as "large" message.
> (btw, CORE messages are properly marked as "large")
> This has a big consequence as the messages are also not removed from disk 
> when they expire.
> see the following screen images:
> I highlighted the message-ID to show that it is properly stored in the 
> "large-messages" directory.
>  The "largeMessage" field above it still shows "false"
> !image-2021-06-11-14-40-13-673.png!
>  
> And on disk:
> !image-2021-06-11-14-40-44-094.png!
>  
> Note that this was a durable message. the same effect is present for 
> non-durable messages.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to