You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by "clebertsuconic (via GitHub)" <gi...@apache.org> on 2024/07/23 16:17:08 UTC

[PR] ARTEMIS-4949 TimedBuffer.checkSync could fail on ClosedChannelException [activemq-artemis]

clebertsuconic opened a new pull request, #5110:
URL: https://github.com/apache/activemq-artemis/pull/5110

   (no comment)


-- 
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: gitbox-unsubscribe@activemq.apache.org

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


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



Re: [PR] ARTEMIS-4949 TimedBuffer.checkSync could fail on ClosedChannelException [activemq-artemis]

Posted by "clebertsuconic (via GitHub)" <gi...@apache.org>.
clebertsuconic merged PR #5110:
URL: https://github.com/apache/activemq-artemis/pull/5110


-- 
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: gitbox-unsubscribe@activemq.apache.org

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


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



Re: [PR] ARTEMIS-4949 TimedBuffer.checkSync could fail on ClosedChannelException [activemq-artemis]

Posted by "clebertsuconic (via GitHub)" <gi...@apache.org>.
clebertsuconic commented on code in PR #5110:
URL: https://github.com/apache/activemq-artemis/pull/5110#discussion_r1688352434


##########
artemis-journal/src/main/java/org/apache/activemq/artemis/core/io/nio/NIOSequentialFile.java:
##########
@@ -387,7 +396,7 @@ public void blockingWriteDirect(ByteBuffer bytes, boolean sync, boolean releaseB
       internalWrite(bytes, sync, null, releaseBuffer);
    }
 
-   private synchronized void internalWrite(final ByteBuffer bytes,
+   private void internalWrite(final ByteBuffer bytes,

Review Comment:
   I didn't mean to remove this synchronized. adding it back.



-- 
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: gitbox-unsubscribe@activemq.apache.org

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


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