You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/05/30 03:03:00 UTC

[jira] [Work logged] (AMQ-7219) ActiveMQ replays journal file on a clean/unclean shutdown with transacted session + Non persistent Messages

     [ https://issues.apache.org/jira/browse/AMQ-7219?focusedWorklogId=250680&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-250680 ]

ASF GitHub Bot logged work on AMQ-7219:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 30/May/19 03:02
            Start Date: 30/May/19 03:02
    Worklog Time Spent: 10m 
      Work Description: alanprot commented on pull request #363: AMQ-7219 - ActiveMQ replays journal file on a clean/unclean shutdown …
URL: https://github.com/apache/activemq/pull/363
 
 
   …with transacted session + Non persistent Messages
 
----------------------------------------------------------------
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:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 250680)
            Time Spent: 10m
    Remaining Estimate: 0h

> ActiveMQ replays journal file on a clean/unclean shutdown with transacted session + Non persistent Messages
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-7219
>                 URL: https://issues.apache.org/jira/browse/AMQ-7219
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: KahaDB
>    Affects Versions: 5.15.9
>            Reporter: Alan Protasio
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Hi,
>  
> Sending non persistent messages on a Transacted session is causing activeMQ to replay unnecessary journal files. If all messages are in this situation activemq will replay the whole journal file even with a clean shutdown.
>  The problem is because is the transaction has no persistent operation, the metadata.lastUpdate is never updated.
> [https://github.com/apache/activemq/blob/master/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java#L1400]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)