Skip to content

Commit

Permalink
Nit: replace TODO with comment (#7624)
Browse files Browse the repository at this point in the history
See #6673
  • Loading branch information
snazy authored Oct 13, 2023
1 parent 7269a95 commit 6efcf01
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -504,8 +504,9 @@ private void commitAddPut(

private String contentIdFromContent(@Nonnull @jakarta.annotation.Nonnull ObjId contentValueId)
throws ObjNotFoundException {
// TODO pre-load these objects, so they are bulk-loaded and in turn available via the cache
// https://github.com/projectnessie/nessie/issues/6673
// Ideally this should pre-load all required objects, so they are bulk-loaded and in turn
// available via the cache. But the probability of this function being called is effectively 0,
// so it is not worth the effort.
return contentMapping.fetchContent(contentValueId).getId();
}
}

0 comments on commit 6efcf01

Please sign in to comment.