-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Let BlobAccessDirectoryFetcher use util.VisitProtoBytesFields()
On the client side we can also easily run into maximum message size limit when accessing Tree objects through the virtual file system. This change reimplements BlobAccessDirectoryFetcher in such a way that it does streaming against Tree objects where possible. A nice optimisation is that we can now slice Trees into individual Directories without unmarshaling them. Only when the size of the Directory matches that of the one that is requested, do we need to duplicate and unmarshal. This should speed up ingestion of Tree objects significantly.
- Loading branch information
1 parent
c208e94
commit 85954ef
Showing
4 changed files
with
123 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters