Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Investigate Removal of Hierarchy #19

Open
dborncamp opened this issue Mar 18, 2021 · 0 comments
Open

Investigate Removal of Hierarchy #19

dborncamp opened this issue Mar 18, 2021 · 0 comments
Assignees

Comments

@dborncamp
Copy link
Contributor

Currently, the SDK tries to keep an internal record of all directories and OIDs, while this is not guaranteed to have the most recent information, if it is found then it does not need to be found again since the OID does not change. But populating the hierarchy is a very expensive operation as it needs to look into every directory to find all files and OIDs.

Data 1.5 does not need a full OID to manipulate files, it can be done by specifying a directory after a path (like from root). Keeping in mind that names are not unique in a dir so it is possible that it could upload to an incorrect location. If a U (update) is uploaded and a name is specified, but no OID it will try to find the existing OID. If it can't find one, it will convert it to a C automatically and try to create a new file.

Investigate to see if it is possible to remove the hierarchy completely by using the root OID and the path with a U.

@hiromis hiromis self-assigned this May 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants