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
This will create some/folder/that/doesnt. This is incredibly surprising for a read operation and can result in some applications that rely on folder listing to fail as now there are empty folders without the expected contents.
The text was updated successfully, but these errors were encountered:
This also seems in some circumstances to be able to cause the creation multiple copies of the nonexistent parent directory, if there are multiple requests in flight at once.
I can confirm that Google Drive can often see multiple folders called "remotestorage", or multiple folders under "remotestorage". This is caused by the confluence of three things:
Google Drive can have multiple folders with the same name (which the remoteStorage backend can't)
referencing a file creates its parent folders, asychronously
if a file is referenced multiple times then there can be multiple parent-folder creation requests in flight at once, as @sorentycho says
so this all leads to having two "remotestorage" folders. I think the code to create is probably a little bit lazy about sending multiple create requests for the same folder on the assumption that it doesn't actually matter if you create a folder that already exists... but for the Google Drive back end it actually does matter.
See the following example:
This will create
some/folder/that/doesnt
. This is incredibly surprising for a read operation and can result in some applications that rely on folder listing to fail as now there are empty folders without the expected contents.The text was updated successfully, but these errors were encountered: