frankgh commented on code in PR #94:
URL: https://github.com/apache/cassandra-sidecar/pull/94#discussion_r1467051680


##########
src/main/java/org/apache/cassandra/sidecar/server/MainModule.java:
##########
@@ -430,9 +434,14 @@ public DnsResolver dnsResolver()
 
     @Provides
     @Singleton
-    public ChecksumVerifier checksumVerifier(Vertx vertx)
+    public ChecksumVerifierFactory checksumVerifierFactory(Vertx vertx)
     {
-        return new MD5ChecksumVerifier(vertx.fileSystem());
+        FileSystem fs = vertx.fileSystem();
+        List<ChecksumVerifier> verifierList = new ArrayList<>();
+        verifierList.add(new XXHash32ChecksumVerifier(fs));

Review Comment:
   now Sidecar can be customized to use different checksum verifiers



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