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

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

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


##########
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:
   @mattrpav is right, the other cursor that is part of the StoredDestination 
is stateful so that we can page off messages as they come in. The dedicated is 
meant to be stateless so there's no need to call that





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

    Worklog Id:     (was: 984578)
    Time Spent: 50m  (was: 40m)

> 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: 50m
>  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