You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "LEROY (Jira)" <ji...@apache.org> on 2020/11/02 00:34:00 UTC
[jira] [Created] (AMQ-8061) Scheduled messages misloaded by
ActiveMQ and not fired
LEROY created AMQ-8061:
--------------------------
Summary: Scheduled messages misloaded by ActiveMQ and not fired
Key: AMQ-8061
URL: https://issues.apache.org/jira/browse/AMQ-8061
Project: ActiveMQ
Issue Type: Bug
Components: AMQP
Affects Versions: 5.16.0, 5.15.1
Reporter: LEROY
I need your help on the scheduled sending message functionnality.
My configuration is :
- ActiveMQ 5.15.1 (in production but I reproduce the issue with 5.16.0)
- kahadb default configuration
I got these files in the scheduler :
- db-24.log
- db-25.log
- scheduleDB.data
- scheduleDB.redo
When running, it sometimes happens that scheduled messages are no more fired by the job scheduler.
If we stop and restart the broker, it doesn't change anything :
- old scheduled messages are not fired
- new scheduled messages are not fired
If we remove the folder scheduler, and restart, new messages are correctly fired.
When I debug the job scheduler when launching with the old scheduled messages, something goes wrong in this file, org.apache.activemq.store.kahadb.scheduler.JobSchedulerImpl.java :
!https://i.stack.imgur.com/D09Pt.png!
There are events, but no one has jobs :
!https://i.stack.imgur.com/jg63c.png!
The getNextToSchedule() method finds events but no one of these got correct jobs.
I tried to load the scheduled files with AMQ 5.15.1, 5.16.0, without success.
Any ideas what's going wrong ?
Thanks
[1]: https://i.stack.imgur.com/D09Pt.png
[2]: https://i.stack.imgur.com/jg63c.png
--
This message was sent by Atlassian Jira
(v8.3.4#803005)