RHGitaly: implementing BlobService.GetBlobs
This finally puts together all the common logic already used in `GetBlob`, and we can switch on the Comparison tests (one single test function for both gRPC methods). Using `blocking_gitlab_revision_node_prefix` is not very elegant, we could probably resolve all the revisions before entering the blocking thread (and perhaps also avoid scanning the state files many times), but this is deemed not so important for the time being, compared to the huge efficiency boost provided to Heptapod by implementing this method in Rust. As is now customary, the tracing part has us create a wrapper struct and implement `Debug` because of the bytes in `RevisionPath`. At some point we'll have to come up with something more generic for this.
parent
81cb41f4
No related branches found
Tags 0.4.0
Checking pipeline status
Loading
Please register or sign in to comment