You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/03/04 15:44:00 UTC

[jira] [Commented] (ARTEMIS-3701) Do not block libaio before moving to next file.

    [ https://issues.apache.org/jira/browse/ARTEMIS-3701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17501395#comment-17501395 ] 

ASF subversion and git services commented on ARTEMIS-3701:
----------------------------------------------------------

Commit e949e3843bac074b7808285e1885fab7f3af630c in activemq-artemis's branch refs/heads/main from Clebert Suconic
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=e949e38 ]

ARTEMIS-3701 Do no block libaio on compacting or closing

I am adding a test showing it is safe to not wait pending callbacks before closing a file.
With this I can just close the file and let the kernel to deal with sending the completions.


> Do not block libaio before moving to next file.
> -----------------------------------------------
>
>                 Key: ARTEMIS-3701
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3701
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.20.0
>            Reporter: Clebert Suconic
>            Assignee: Clebert Suconic
>            Priority: Major
>             Fix For: 2.21.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> this is to avoid the following error message:
> AIOSequentialFileFactory.threadDump("File " + getFileName() + " still has pending IO before closing it");



--
This message was sent by Atlassian Jira
(v8.20.1#820001)