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

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

                Author: ASF GitHub Bot
            Created on: 25/Sep/25 15:42
            Start Date: 25/Sep/25 15:42
    Worklog Time Spent: 10m 
      Work Description: mattrpav commented on code in PR #1499:
URL: https://github.com/apache/activemq/pull/1499#discussion_r2379592730


##########
activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java:
##########
@@ -796,7 +803,11 @@ public void execute(Transaction tx) throws Exception {
                                 break;
                             }
                         }
-                        sd.orderIndex.stoppedIterating();
+
+                        // The sd.orderIndex uses the destination's cursor
+                        if(!messageRecoveryContext.isUseDedicatedCursor()) {

Review Comment:
   @jbonofre the sd.orderIndex.stopIterating() operates on the destination's 
cursor by default. If there is a dedicated cursor, there is no need to stop 
iterating, b/c it is a one-time use cursor.





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

    Worklog Id:     (was: 984577)
    Time Spent: 40m  (was: 0.5h)

> Backup only recovers one message
> --------------------------------
>
>                 Key: AMQ-9773
>                 URL: https://issues.apache.org/jira/browse/AMQ-9773
>             Project: ActiveMQ Classic
>          Issue Type: Bug
>            Reporter: Matt Pavlovich
>            Assignee: Matt Pavlovich
>            Priority: Minor
>             Fix For: 6.2.0, 5.19.1, 6.1.8
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to