[ https://issues.apache.org/jira/browse/ARTEMIS-4959?focusedWorklogId=927991&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-927991 ]
ASF GitHub Bot logged work on ARTEMIS-4959: ------------------------------------------- Author: ASF GitHub Bot Created on: 30/Jul/24 15:55 Start Date: 30/Jul/24 15:55 Worklog Time Spent: 10m Work Description: clebertsuconic merged PR #5118: URL: https://github.com/apache/activemq-artemis/pull/5118 Issue Time Tracking ------------------- Worklog Id: (was: 927991) Time Spent: 50m (was: 40m) > moveMessages operation can move more messages than max messageCount > ------------------------------------------------------------------- > > Key: ARTEMIS-4959 > URL: https://issues.apache.org/jira/browse/ARTEMIS-4959 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: management > Affects Versions: 2.35.0 > Reporter: Howard Gao > Assignee: Howard Gao > Priority: Major > Time Spent: 50m > Remaining Estimate: 0h > > When paging and many messages in a queue, the following is observed: > $ bin/artemis producer --user admin --password admin --url > tcp://localhost:61616 --message-count 10000 --message-size 10240 > --destination queue://FOO > ... > $ curl -XPOST -H "Content-Type: application/json" -H "Origin: > http://localhost" --user "admin:admin" -d > '{"type":"exec","mbean":"org.apache.activemq.artemis:broker=\"0.0.0.0\",component=addresses,address=\"FOO\",subcomponent=queues,routing-type=\"anycast\",queue=\"FOO\"","operation":"moveMessages(int,java.lang.String,java.lang.String,boolean,int)","arguments":[500,"","DLQ",false,500]}' > ... > > {"request":{"mbean":"org.apache.activemq.artemis:address=\"FOO\",broker=\"0.0.0.0\",component=addresses,queue=\"FOO\",routing-type=\"anycast\",subcomponent=queues","arguments":[500,"","DLQ",false,500],"type":"exec","operation":"moveMessages(int,java.lang.String,java.lang.String,boolean,int)"},"value":8630,"timestamp":1718395680,"status":200} > Note that the messageCount for the moveMessages operation was 500, but in > reality 8630 messages were moved (verified with queue stats). This does not > seem to happen for queues with a low queue depth. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@activemq.apache.org For additional commands, e-mail: issues-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact