ahanikel commented on PR #1171: URL: https://github.com/apache/jackrabbit-oak/pull/1171#issuecomment-1784962738
@smiroslav `BlobStoreBlob` instances receive their `blobId` in the constructor. That constructor is called in two places: `SegmentNodeStore.getBlob(reference)` where the blobstore is called to get the blobId, and `SegmentBlob.getBlob(blobId)`, which is used by `SegmentBlob.getNewStream()` and `SegmentBlob.getLength()`, and in both cases, the blobId was already written to the segment (because the SegmentBlob is a Record and the blobId read from there). So I think we can safely assume that that blob exists in the blobstore if we're dealing with a `BlobStoreBlob` instance. WDYT? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
