Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BucketManager.MoveItemIntoBucket results in IOException: The directory is not empty. (sometimes) #36

Open
JaapioNL opened this issue Mar 23, 2020 · 0 comments

Comments

@JaapioNL
Copy link

Hi I am not sure if to put this in Unicorn or Rainbow.

When I call BucketManager.MoveItemIntoBucket to move a freshly created item I, sometimes, get an IOException: The directory is not empty. The reason I say sometimes is that sometimes it runs hundres of times and things are just fine but sometimes I get this exception:

Rainbow.Storage.SfsDeleteException: 'Error deleting SFS directory D:\xyzxyzxyz\Repo\sitecore\src\Sitecore.Data\Unicorn\xyz-xyz-xyz\master_xyz\65d63815-2f19-f285-9a10-2183297215ef'

IOException: The directory is not empty.

This exception was originally thrown at this call stack:
System.IO.__Error.WinIOError(int, string)
System.IO.Directory.DeleteHelper(string, string, bool, bool, ref Microsoft.Win32.Win32Native.WIN32_FIND_DATA)
System.IO.Directory.Delete(string, string, bool, bool)
Rainbow.Storage.SerializationFileSystemTree.RemoveWithoutChildren.AnonymousMethod__2()
Rainbow.ActionRetryer.Perform(System.Action)
Rainbow.Storage.SerializationFileSystemTree.RemoveWithoutChildren(Rainbow.Model.IItemMetadata)

Sitecore version: 9.0.1
Unicorn version: 4.0.4 (with transparent sync enabled)

Also something weird, normally items are located in:
D:\xyzxyzxyz\Repo\sitecore\src\Sitecore.Data\Unicorn\xyz-xyz-xyz\master_xyz\xyzxyzxyz xyz xyz\Content\Products

But sometimes it ends in the folder above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant