jacek-lewandowski commented on code in PR #2064:
URL: https://github.com/apache/cassandra/pull/2064#discussion_r1072236125
##########
src/java/org/apache/cassandra/io/sstable/format/big/BigTableWriter.java:
##########
@@ -361,22 +357,27 @@ public SSTableReader openEarly()
long indexFileLength = new
File(descriptor.filenameFor(Component.PRIMARY_INDEX)).length();
int indexBufferSize =
optimizationStrategy.bufferSize(indexFileLength / indexSummary.size());
ifile =
iwriter.builder.bufferSize(indexBufferSize).complete(boundary.indexLength);
- if (compression)
- dbuilder.withCompressionMetadata(((CompressedSequentialWriter)
dataFile).open(boundary.dataLength));
+ try (FileHandle.Builder dbuilder = new
FileHandle.Builder(descriptor.filenameFor(Component.DATA)))
Review Comment:
Indeed, it will be fixed in some later commit
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]