Okay, thanks Ivan for the update. Is it scheduled to be fixed in any of the
upcoming updates or patches?

Regards,
Tejashree Ruikar

On Fri, Aug 12, 2022 at 7:45 PM Ivan Bessonov <bessonov...@gmail.com> wrote:

> Hi!
>
> Unfortunately, the problem is in Ignite itself. The node holds the file
> opened while renaming it, thus not allowing this renaming to happen on
> Windows platform. I don't think that there's a workaround here.
>
> пт, 12 авг. 2022 г. в 17:11, Ivan Bessonov <bessonov...@gmail.com>:
>
>> Hi!
>>
>> Unfortunately, the problem is in Ignite itself. The node holds the file
>> opened while renaming it, thus not allowing this renaming to happen on
>> Windows platform. I don't think that there's a workaround here.
>>
>> пт, 12 авг. 2022 г. в 12:40, Tejashree Ruikar <
>> tejashree.rui...@broadcom.com>:
>>
>>> Hi,
>>>
>>> I'm using ControlScript to trigger the defragmentation task for an
>>> apache ignite node. The defragmentation completes successfully on a Linux
>>> node.
>>> But when executed on a Widows node, it fails with following exception:
>>>
>>> Aug 12, 2022 9:59:08 AM org.apache.ignite.logger.java.JavaLogger error
>>> SEVERE: Defragmentation failed
>>> class org.apache.ignite.IgniteException:
>>> C:\ProgramData\<SOME_FOLDER>\IgniteStorage\<CONSISTENT_ID>\cache-<CACHE_NAME>\part-dfrg-63.bin
>>> -> C:\ProgramData\<SOME_FOLDER>\IgniteStorage\<CONSISTENT_ID>\cache-
>>> <CACHE_NAME>\part-63.bin
>>> at
>>> org.apache.ignite.internal.processors.cache.persistence.defragmentation.DefragmentationFileUtils.batchRenameDefragmentedCacheGroupPartitions(DefragmentationFileUtils.java:234)
>>> at
>>> org.apache.ignite.internal.processors.cache.persistence.defragmentation.DefragmentationFileUtils.skipAlreadyDefragmentedCacheGroup(DefragmentationFileUtils.java:133)
>>> at
>>> org.apache.ignite.internal.processors.cache.persistence.defragmentation.CachePartitionDefragmentationManager.executeDefragmentation(CachePartitionDefragmentationManager.java:284)
>>> at
>>> org.apache.ignite.internal.processors.cache.persistence.defragmentation.maintenance.ExecuteDefragmentationAction.lambda$execute$0(ExecuteDefragmentationAction.java:73)
>>> at java.lang.Thread.run(Thread.java:748)
>>> Caused by: java.nio.file.AccessDeniedException:
>>> C:\ProgramData\<SOME_FOLDER>\IgniteStorage\<CONSISTENT_ID>\cache-<CACHE_NAME>\part-dfrg-63.bin
>>> ->
>>> C:\ProgramData\<SOME_FOLDER>\IgniteStorage\<CONSISTENT_ID>\cache-<CACHE_NAME>\part-63.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)
>>> ... 4 more
>>>
>>> I've ensured that no other process is currently using that file and file
>>> permissions are adequate. I've even tried disabling/ uninstalling
>>> antivirus, but nothing worked.
>>> Is there a fix or workaround for this issue?
>>>
>>> Regards,
>>> Tejashree Ruikar
>>>
>>> This electronic communication and the information and any files
>>> transmitted with it, or attached to it, are confidential and are intended
>>> solely for the use of the individual or entity to whom it is addressed and
>>> may contain information that is confidential, legally privileged, protected
>>> by privacy laws, or otherwise restricted from disclosure to anyone else. If
>>> you are not the intended recipient or the person responsible for delivering
>>> the e-mail to the intended recipient, you are hereby notified that any use,
>>> copying, distributing, dissemination, forwarding, printing, or copying of
>>> this e-mail is strictly prohibited. If you received this e-mail in error,
>>> please return the e-mail to the sender, delete it from your computer, and
>>> destroy any printed copy of it.
>>
>>
>>
>> --
>> Sincerely yours,
>> Ivan Bessonov
>>
>
>
> --
> Sincerely yours,
> Ivan Bessonov
>

-- 
This electronic communication and the information and any files transmitted 
with it, or attached to it, are confidential and are intended solely for 
the use of the individual or entity to whom it is addressed and may contain 
information that is confidential, legally privileged, protected by privacy 
laws, or otherwise restricted from disclosure to anyone else. If you are 
not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that any use, 
copying, distributing, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited. If you received this e-mail in error, 
please return the e-mail to the sender, delete it from your computer, and 
destroy any printed copy of it.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to