activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-1471) Needs Bounds Checking on writes for MappedSequentialFile
Date Mon, 06 Nov 2017 19:04:00 GMT

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

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

Commit 3950169c21d97538708320ef29a7f5bab279a50f in activemq-artemis's branch refs/heads/master
from [~nigro.fra@gmail.com]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=3950169 ]

ARTEMIS-1471 Needs Bounds Checking on writes for MappedSequentialFile

The MappedSequentialFile relies on the assumption that any writers
won't exceed the maximum capacity of the file, leaving the JVM to crash otherwise.
This commit adds proper bounds checking on write operations (and position changes too)
in order to provide recoverable effects if such scenario should occour.
In addition are provided minor fixes on Mapped and Nio SequentialFile::fill behaviour
to match the original contract.


> Needs Bounds Checking on writes for MappedSequentialFile
> --------------------------------------------------------
>
>                 Key: ARTEMIS-1471
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1471
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>            Priority: Trivial
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message