activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-444) Extend AIOSequentialFileFactory to check underlying FS
Date Mon, 21 Mar 2016 13:15:25 GMT

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

ASF GitHub Bot commented on ARTEMIS-444:
----------------------------------------

Github user clebertsuconic commented on the pull request:

    https://github.com/apache/activemq-artemis/pull/425#issuecomment-199268909
  
    ActiveMQServer::initialisePart1 needs this change: 
    
       synchronized boolean initialisePart1(boolean scalingDown) throws Exception {
          if (state == SERVER_STATE.STOPPED)
             return false;
    
          // Create the pools - we have two pools - one for non scheduled - and another for
scheduled
          initializeExecutorServices();
    
          if (configuration.getJournalType() == JournalType.ASYNCIO && !AIOSequentialFileFactory.isSupported(configuration.getJournalDirectory()))
{



> Extend AIOSequentialFileFactory to check underlying FS
> ------------------------------------------------------
>
>                 Key: ARTEMIS-444
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-444
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>    Affects Versions: 1.1.0
>            Reporter: Dominik Pospisil
>
> Currently, AIOSequentialFileFactory.isSupported() only check if the native lib was loaded.
AIO might still fail if the underlying FS does not support required features (direct async
I/O).
> Example filesystems on Linux: tmpfs, ZFS (using zfsonlinux driver).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message