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
Our application has a requirement that in the store, there be a folder and a file with the same name, as we use the folder to store chunks of the corresponding composite file with the same name as that of folder. This was happening successfully in actual GCS till now as gcs uses flat hierarchy and maps object name to its content by using the object prefix as it's name. Refer the G cloud doc explaining this.
Recently we decided to use the fake server to avoid costs while testing and I have observed that the mock gcs server uses a tree like hierarchical file system ( I know it's because of the alpine base image ) which doesn't permit creating a file and a folder with the same name.
Is there any plan of supporting a file and folder with the same name in the future?
The text was updated successfully, but these errors were encountered:
If I understand correctly, you need something like a set of objects named "foo", "foo/bar", "foo/baz", etc?
I believe this should be supported by the memory backend, but you're correct, the filesystem backend uses a hierarchical structure that isn't compatible with that. At some point we should redesign the filesystem backend to take into consideration generations and other missing capabilities, but there are no clear plans right now.
If I understand correctly, you need something like a set of objects named "foo", "foo/bar", "foo/baz", etc?
Yes, you are right.
At some point we should redesign the filesystem backend to take into consideration generations and other missing capabilities, but there are no clear plans right now.
Thanks for acknowledging the issue, understood the limitations, hoping to get it redesigned soon. ✌️
Our application has a requirement that in the store, there be a folder and a file with the same name, as we use the folder to store chunks of the corresponding composite file with the same name as that of folder. This was happening successfully in actual
GCS
till now asgcs
uses flat hierarchy and maps object name to its content by using the object prefix as it's name. Refer the G cloud doc explaining this.Recently we decided to use the fake server to avoid costs while testing and I have observed that the mock gcs server uses a tree like hierarchical file system ( I know it's because of the
alpine
base image ) which doesn't permit creating a file and a folder with the same name.Is there any plan of supporting a file and folder with the same name in the future?
The text was updated successfully, but these errors were encountered: