You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
delete A/ ,throw exception DirectoryNotEmptyException: Failed to delete 1 paths from the under file system: A/B (UFS dir not in sync. Sync UFS, or delete with unchecked flag.)
Since the write is ASYNC_THROUGH, the asynchronous synchronization to ufs begins after the write is finished
When the client writes a rename file, the asynchronous synchronization task may still be executed by the jobworker
The rename operation lists the files in A/ directory,and copy A/B to C/B ,and delete A/B
The asynchronous synchronization task may fail. Trying again
The synchronous task of the job worker will create A/B directories and copy data to the UFS. If the data copy fails, the A/B directories will not be deleted, resulting in the A/B directories not existing in the Alluxio metadata but still being present on the UFS.
When the client lists, it will synchronize directory A from the UFS to Alluxio metadata. If it finds that directory A should not exist and attempts to delete it, but directory A still contains directory B, which does not exist in Alluxio but exists in the UFS, an exception will be thrown during the delete operation.
Alluxio Version:
2.9.3
Describe the bug
DirectoryNotEmptyException: Failed to delete 1 paths from the under file system: A/B (UFS dir not in sync. Sync UFS, or delete with unchecked flag.)
To Reproduce
Expected behavior
Urgency
urgency
Are you planning to fix it
alluxio.user.file.writetype.default= CACHE_THROUGH
The text was updated successfully, but these errors were encountered: