bruno-roustant commented on a change in pull request #68:
URL: https://github.com/apache/solr/pull/68#discussion_r613051745
##########
File path:
solr/contrib/blob-directory/src/java/org/apache/solr/blob/BlobDirectory.java
##########
@@ -181,7 +182,12 @@ protected void ensureOpen() throws AlreadyClosedException {
@Override
public void close() throws IOException {
// Free the reference to the IndexOutput.
- blobFileSupplier.indexOutput = null;
+ blobFileSupplier.getBlobFile();
Review comment:
I agree it's not clear. I'll separate freeing the IndexOutput reference
and getting the BlobFile (the latter is done with the IndexOutput to get the
file length and checksum).
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]