smiklosovic commented on code in PR #3180:
URL: https://github.com/apache/cassandra/pull/3180#discussion_r1530671208
##########
src/java/org/apache/cassandra/hints/HintsStore.java:
##########
@@ -282,7 +297,11 @@ boolean isWriting()
HintsWriter getOrOpenWriter()
{
if (hintsWriter == null)
+ {
hintsWriter = openWriter();
+ hintsSizes.put(hintsWriter.descriptor().fileName(),
hintsWriter.descriptor().file(hintsDirectory).length());
Review Comment:
we do not include .crc32 files too btw ... I can remove this though. There
is a test at the bottom which thinks that by mere writing of a descriptor it
should has some size. I can rewrite that test accordingly.
--
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]