[
https://issues.apache.org/jira/browse/ARTEMIS-2500?focusedWorklogId=316676&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-316676
]
ASF GitHub Bot logged work on ARTEMIS-2500:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 23/Sep/19 13:45
Start Date: 23/Sep/19 13:45
Worklog Time Spent: 10m
Work Description: gaohoward commented on issue #2846: ARTEMIS-2500
CoreMessage doesn't make a ful copy of its props
URL: https://github.com/apache/activemq-artemis/pull/2846#issuecomment-534105713
@clebertsuconic Looking at QueueImpl.move() it is still used
message.copy(newID) method.
In LargeServerMessageImpl.copy(newID) ->
JournalStorageManager.createLargeMessage(long, Message) where this method is
used. It looks to me the message copy still shares the properties.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 316676)
Time Spent: 1h 40m (was: 1.5h)
> CoreMessage doesn't make a full copy of its props
> -------------------------------------------------
>
> Key: ARTEMIS-2500
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2500
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 2.10.0
> Reporter: Howard Gao
> Assignee: Howard Gao
> Priority: Major
> Fix For: 2.11.0
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> When CoreMessage is doing copyHeadersAndProperties() it doesn't
> make a full copy of its properties (a TypedProperties object).
> It will cause problem when multiple threads/parties are modifying the
> properties of the copied messages from the same message.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)