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

ASF GitHub Bot logged work on ARTEMIS-5305:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 18/Feb/25 14:15
            Start Date: 18/Feb/25 14:15
    Worklog Time Spent: 10m 
      Work Description: clebertsuconic commented on code in PR #5498:
URL: https://github.com/apache/activemq-artemis/pull/5498#discussion_r1959834718


##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/impl/PagingStoreImpl.java:
##########
@@ -1413,8 +1500,18 @@ private void installPageTransaction(final Transaction 
tx, final RouteContextList
       return;
    }
 
+   @Override
+   public boolean hasPendingIO() {
+      return timedWriter != null && timedWriter.hasPendingIO();

Review Comment:
   when timedWriter is null, we have the previous semantic. Meaning it needs to 
return false, as no pending writes and it can clear page status without issues.





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

    Worklog Id:     (was: 957534)
    Time Spent: 1h 50m  (was: 1h 40m)

> Improve performance on paging for multiple producers and optimize locking
> -------------------------------------------------------------------------
>
>                 Key: ARTEMIS-5305
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5305
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.39.0
>            Reporter: Clebert Suconic
>            Assignee: Clebert Suconic
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.40.0
>
>          Time Spent: 1h 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