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

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

                Author: ASF GitHub Bot
            Created on: 12/Feb/25 10:22
            Start Date: 12/Feb/25 10:22
    Worklog Time Spent: 10m 
      Work Description: brusdev commented on code in PR #5498:
URL: https://github.com/apache/activemq-artemis/pull/5498#discussion_r1952312790


##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/cursor/impl/PageCursorProviderImpl.java:
##########
@@ -275,7 +275,7 @@ protected void cleanup() {
       try (ArtemisCloseable readLock = storageManager.closeableReadLock()) {
 
          while (true) {
-            if (pagingStore.lock(100)) {
+            if (pagingStore.writeLock(1_000)) {

Review Comment:
   is the timeout increased on purpose?





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

    Worklog Id:     (was: 956687)
    Time Spent: 20m  (was: 10m)

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