maedhroz commented on code in PR #2782:
URL: https://github.com/apache/cassandra/pull/2782#discussion_r1365940885


##########
src/java/org/apache/cassandra/index/sai/disk/io/IndexFileUtils.java:
##########
@@ -44,6 +46,7 @@ public class IndexFileUtils
                                                                                
              .build();
 
     public static final IndexFileUtils instance = new 
IndexFileUtils(DEFAULT_WRITER_OPTION);
+    public static final Supplier<Checksum> CHECKSUM_CRC32C_FACTORY = 
CRC32C::new;

Review Comment:
   nit: If we make the other changes suggested, this could probably just become 
`CHECKSUM_FACTORY`, as it might not always and forever be `CRC32C`. If we did 
change it, I guess there would be some versioning involved, but no need to 
think about that now.



-- 
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]

Reply via email to