You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "keith-turner (via GitHub)" <gi...@apache.org> on 2025/08/25 16:02:03 UTC

[I] Use LinkedTransferQueue poll w/ timeout after upgrade to JDK 21+ [accumulo]

keith-turner opened a new issue, #5827:
URL: https://github.com/apache/accumulo/issues/5827

   When Accumulo switches to JDK 21 or newer the changes in #5825 can be reverted. 


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Use LinkedTransferQueue poll w/ timeout after upgrade to JDK 21+ [accumulo]

Posted by "DomGarguilo (via GitHub)" <gi...@apache.org>.
DomGarguilo commented on issue #5827:
URL: https://github.com/apache/accumulo/issues/5827#issuecomment-5781793790

   On a 5 node test cluster I hit the cost of this issue testing 4.0.0-alpha. The cluster was idle with no fate transactions and the fate workers were still burning 24% of a core on one manager and 72% on another. ~26 workers all waking up 1000 times a second on an empty queue. Measured from thread dumps 60s apart.
   
   #5825 replaced the `poll(100, MILLISECONDS)` with `poll()` + `Thread.sleep(1)` so 100x the wakeups. Sleeping for 50 or 100ms would get most of that back now without waiting for JDK 21. Working on a PR for that now.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Use LinkedTransferQueue poll w/ timeout after upgrade to JDK 21+ [accumulo]

Posted by "dlmarion (via GitHub)" <gi...@apache.org>.
dlmarion commented on issue #5827:
URL: https://github.com/apache/accumulo/issues/5827#issuecomment-3234247104

   Do we get the fix for the `LinkedTransferQueue.poll(Timeout)` bug if we compile with JDK21 but keep the source compatibility at JDK17?


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org