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

Ivan Bessonov commented on IGNITE-17761:
----------------------------------------

Cache 2 suite is just broken. It's definetely not on me, that suite never uses 
defragmentation.

> PDS defragmentation doesn't work on Windows
> -------------------------------------------
>
>                 Key: IGNITE-17761
>                 URL: https://issues.apache.org/jira/browse/IGNITE-17761
>             Project: Ignite
>          Issue Type: Bug
>          Components: persistence
>    Affects Versions: 2.13
>            Reporter: Ivan Bessonov
>            Assignee: Ivan Bessonov
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> IgnitePdsDefragmentationTest:
> {code:java}
> [20:33:00] (err) Failed to notify listener: 
> o.a.i.i.util.future.GridFutureChainListener@3feba53cclass 
> org.apache.ignite.IgniteException: ***\part-dfrg-0.bin -> ***\part-0.bin
>     at 
> org.apache.ignite.internal.processors.cache.persistence.defragmentation.DefragmentationFileUtils.batchRenameDefragmentedCacheGroupPartitions(DefragmentationFileUtils.java:234)
>     at 
> org.apache.ignite.internal.processors.cache.persistence.defragmentation.CachePartitionDefragmentationManager.lambda$executeDefragmentation$f1743ba$1(CachePartitionDefragmentationManager.java:449)
>     at 
> org.apache.ignite.internal.util.future.GridFutureChainListener.applyCallback(GridFutureChainListener.java:78)
>     at 
> org.apache.ignite.internal.util.future.GridFutureChainListener.apply(GridFutureChainListener.java:70)
>     at 
> org.apache.ignite.internal.util.future.GridFutureChainListener.apply(GridFutureChainListener.java:30)
>     at 
> org.apache.ignite.internal.util.future.GridFutureAdapter.notifyListener(GridFutureAdapter.java:464)
>     at 
> org.apache.ignite.internal.util.future.GridFutureAdapter.unblock(GridFutureAdapter.java:348)
>     at 
> org.apache.ignite.internal.util.future.GridFutureAdapter.unblockAll(GridFutureAdapter.java:336)
>     at 
> org.apache.ignite.internal.util.future.GridFutureAdapter.onDone(GridFutureAdapter.java:576)
>     at 
> org.apache.ignite.internal.util.future.GridFutureAdapter.onDone(GridFutureAdapter.java:555)
>     at 
> org.apache.ignite.internal.util.future.GridFutureAdapter.onDone(GridFutureAdapter.java:543)
>     at 
> org.apache.ignite.internal.processors.cache.persistence.checkpoint.CheckpointProgressImpl.doFinishFuturesWhichLessOrEqualTo(CheckpointProgressImpl.java:151)
>     at 
> org.apache.ignite.internal.processors.cache.persistence.checkpoint.CheckpointProgressImpl.transitTo(CheckpointProgressImpl.java:137)
>     at 
> org.apache.ignite.internal.processors.cache.persistence.checkpoint.CheckpointWorkflow.markCheckpointEnd(CheckpointWorkflow.java:603)
>     at 
> org.apache.ignite.internal.processors.cache.persistence.checkpoint.Checkpointer.doCheckpoint(Checkpointer.java:485)
>     at 
> org.apache.ignite.internal.processors.cache.persistence.checkpoint.Checkpointer.body(Checkpointer.java:278)
>     at 
> org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:125)
>     at java.lang.Thread.run(Thread.java:750)
> Caused by: java.nio.file.AccessDeniedException: ***\part-dfrg-0.bin -> 
> ***\part-0.bin
>     at 
> sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
>     at 
> sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
>     at sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:301)
>     at 
> sun.nio.fs.WindowsFileSystemProvider.move(WindowsFileSystemProvider.java:287)
>     at java.nio.file.Files.move(Files.java:1395)
>     at 
> org.apache.ignite.internal.processors.cache.persistence.defragmentation.DefragmentationFileUtils.batchRenameDefragmentedCacheGroupPartitions(DefragmentationFileUtils.java:222)
>     ... 17 more {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to