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 2015/11/10 17:23:11 UTC
[jira] [Commented] (AMQ-6039) KahaDB data log archiving does not
work accross different physical file systems
[ https://issues.apache.org/jira/browse/AMQ-6039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14998853#comment-14998853 ]
ASF subversion and git services commented on AMQ-6039:
------------------------------------------------------
Commit 938aa626c2b6a4d285f0a481be32eb6eecb26333 in activemq's branch refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=938aa62 ]
https://issues.apache.org/jira/browse/AMQ-6039
If the rename option fails, then we must try a complete copy since the
move can cross file systems.
> KahaDB data log archiving does not work accross different physical file systems
> -------------------------------------------------------------------------------
>
> Key: AMQ-6039
> URL: https://issues.apache.org/jira/browse/AMQ-6039
> Project: ActiveMQ
> Issue Type: Bug
> Components: KahaDB
> Affects Versions: 5.11.1, 5.11.2, 5.12.0, 5.12.1, 5.11.3
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Fix For: 5.13.0
>
>
> The utility class IOHelper uses a trivial rename operation in its move method for files being moved to another directory. This operation can fail when the target of the move is on a different file system. The method needs to fall back to a deep copy / remove style operation when the rename attempt fails in order to ensure the file can move.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)