[
https://issues.apache.org/jira/browse/AMQ-9856?focusedWorklogId=1004219&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1004219
]
ASF GitHub Bot logged work on AMQ-9856:
---------------------------------------
Author: ASF GitHub Bot
Created on: 09/Feb/26 15:52
Start Date: 09/Feb/26 15:52
Worklog Time Spent: 10m
Work Description: jeanouii commented on PR #1654:
URL: https://github.com/apache/activemq/pull/1654#issuecomment-3872559802
@mattrpav Ok with you to merge?
Issue Time Tracking
-------------------
Worklog Id: (was: 1004219)
Remaining Estimate: 0h
Time Spent: 10m
> KahaDB Journal move fails on Windows
> ------------------------------------
>
> Key: AMQ-9856
> URL: https://issues.apache.org/jira/browse/AMQ-9856
> Project: ActiveMQ
> Issue Type: Bug
> Components: KahaDB
> Reporter: Jean-Louis Monteiro
> Assignee: Jean-Louis Monteiro
> Priority: Major
> Fix For: 6.3.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> On Windows, files cannot be renamed/moved while open by another process. The
> simplest and most appropriate fix is to skip this test on Windows where file
> locking makes it inherently unreliable.
> {code:java}
> java.io.IOException: Failed to move
> target\activemq-data\localhost\KahaDB\db-6.log to
> D:\a\activemq\activemq\activemq-kahadb-store\target\activemq-data\localhost\KahaDB\data-archive
> - target\activemq-data\localhost\KahaDB\db-6.log ->
> D:\a\activemq\activemq\activemq-kahadb-store\target\activemq-data\localhost\KahaDB\data-archive\db-6.log:
> The process cannot access the file because it is being used by another
> process
> at org.apache.activemq.util.IOHelper.moveFile(IOHelper.java:200)
> at
> org.apache.activemq.store.kahadb.disk.journal.DataFile.move(DataFile.java:107)
> at
> org.apache.activemq.store.kahadb.disk.journal.Journal.forceRemoveDataFile(Journal.java:833)
> at
> org.apache.activemq.store.kahadb.disk.journal.Journal.removeDataFiles(Journal.java:812)
> at
> org.apache.activemq.store.kahadb.MessageDatabase.checkpointUpdate(MessageDatabase.java:1701)
> at
> org.apache.activemq.store.kahadb.MessageDatabase.checkpointCleanup(MessageDatabase.java:1035)
> at
> org.apache.activemq.store.kahadb.KahaDBStore.checkpoint(KahaDBStore.java:1481)
> {code}
>
>
--
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