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

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

                Author: ASF GitHub Bot
            Created on: 23/Jul/24 16:17
            Start Date: 23/Jul/24 16:17
    Worklog Time Spent: 10m 
      Work Description: clebertsuconic opened a new pull request, #5110:
URL: https://github.com/apache/activemq-artemis/pull/5110

   (no comment)




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

            Worklog Id:     (was: 927089)
    Remaining Estimate: 0h
            Time Spent: 10m

> java.nio.channels.ClosedChannelException with slower devices and NIO journal
> ----------------------------------------------------------------------------
>
>                 Key: ARTEMIS-4949
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4949
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.35.0
>            Reporter: Clebert Suconic
>            Assignee: Clebert Suconic
>            Priority: Major
>             Fix For: 2.36.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> It is possible to get the following exception, with NIO and on a NFS file 
> system.
> {code:java}
> java.nio.channels.ClosedChannelException: null
>       at 
> java.base/sun.nio.ch.FileChannelImpl.ensureOpen(FileChannelImpl.java:159) 
> ~[?:?]
>       at java.base/sun.nio.ch.FileChannelImpl.force(FileChannelImpl.java:459) 
> ~[?:?]
>       at 
> org.apache.activemq.artemis.core.io.nio.NIOSequentialFile.syncChannel(NIOSequentialFile.java:340)
>  ~[classes/:?]
>       at 
> org.apache.activemq.artemis.tests.unit.core.journal.impl.TimedBufferTest$3$1.syncChannel(TimedBufferTest.java:238)
>  ~[test-classes/:?]
>       at 
> org.apache.activemq.artemis.core.io.nio.NIOSequentialFile.sync(NIOSequentialFile.java:323)
>  ~[classes/:?]
>       at 
> org.apache.activemq.artemis.core.io.AbstractSequentialFile$LocalBufferObserver.checkSync(AbstractSequentialFile.java:304)
>  [classes/:?]
>       at 
> org.apache.activemq.artemis.core.io.buffer.TimedBuffer.flushBatch(TimedBuffer.java:362)
>  [classes/:?]
>       at 
> org.apache.activemq.artemis.core.io.buffer.TimedBuffer$CheckTimer.run(TimedBuffer.java:466)
>  [classes/:?]
>       at java.base/java.lang.Thread.run(Thread.java:833) [?:?
> {code}
> although I can see in the code inspection this could happen on a local file 
> system as well, but I could not reproduce this easily on a local file system. 
> (although it seems possible).



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@activemq.apache.org
For additional commands, e-mail: issues-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to