[
https://issues.apache.org/jira/browse/ARTEMIS-5675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18021930#comment-18021930
]
ASF subversion and git services commented on ARTEMIS-5675:
----------------------------------------------------------
Commit 52bb9d4bdaf21fff30f60dfbdde48c0660b2cea8 in activemq-artemis's branch
refs/heads/main from Clebert Suconic
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=52bb9d4bda ]
ARTEMIS-5675 Server's VM is not halting when disk is disconnected
> Server's JVM won't halt when storage is disconnected
> ----------------------------------------------------
>
> Key: ARTEMIS-5675
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5675
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.42.0
> Reporter: Clebert Suconic
> Assignee: Clebert Suconic
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.43.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> I tested this by inserting an USB stick, mounting the journal to the folder
> and disconnecting it.
> At the critical exception, the server will shutdown, however the file.close
> from the journal will throw an exception and not allow some of the thread
> dumps to close.
> I have fixed this, by manually testing it. I have no idea on how I could
> write an automated test for this. (I could of course throw mock tests, but
> they will not be reliable as I have no idea what errors could happen, I know
> the current ones but not future issues, so a mock test is not effective IMO).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact