[go: nahoru, domu]

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

Deepbox Protocol #15989

Open
wants to merge 137 commits into
base: master
Choose a base branch
from
Open

Deepbox Protocol #15989

wants to merge 137 commits into from

Conversation

chenkins
Copy link
Contributor
@chenkins chenkins commented Jun 4, 2024

No description provided.

Copy link
Contributor
@dkocher dkocher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolve TODOs

@chenkins chenkins marked this pull request as ready for review June 28, 2024 16:55
@chenkins chenkins requested a review from a team as a code owner June 28, 2024 16:55
@chenkins chenkins requested a review from dkocher June 28, 2024 16:55
@chenkins chenkins marked this pull request as draft June 29, 2024 07:09
@chenkins chenkins marked this pull request as draft June 29, 2024 07:09
@chenkins chenkins marked this pull request as ready for review July 1, 2024 07:32
@chenkins chenkins requested a review from dkocher July 2, 2024 08:09
Comment on lines 103 to 117
final List<Path> segs = pathToList(file);
for(final Path seg : segs) {
if(StringUtils.isNotBlank(seg.attributes().getFileId())) {
continue;
}
final String cachedSeg = super.getFileId(file);
if(cachedSeg != null) {
continue;
}
final String ret = lookupFileId(seg);
// fail if one of the segments cannot be found
if(StringUtils.isEmpty(ret)) {
return null;
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably not lookup IDs for the full tree for performance reason.

@dkocher dkocher added this to the 10.0 milestone Jul 2, 2024
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

Successfully merging this pull request may close these issues.

None yet

3 participants