horizonzy commented on code in PR #3793:
URL: https://github.com/apache/bookkeeper/pull/3793#discussion_r1113981296
##########
bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/storage/ldb/KeyValueStorageRocksDBTest.java:
##########
@@ -78,4 +80,38 @@ public void testRocksDBInitiateWithConfigurationFile()
throws Exception {
assertEquals(1, familyOptions.maxWriteBufferNumber());
rocksDB.close();
}
+
+ @Test
+ public void testReadChecksumTypeFromBookieConfiguration() throws Exception
{
+ ServerConfiguration configuration = new ServerConfiguration();
+ configuration.setProperty("dbStorage_rocksDB_checksum_type",
"kxxHash");
Review Comment:
We can remove `configuration.setProperty("dbStorage_rocksDB_checksum_type",
"kxxHash");` to verify the default value is `kxxHash`.
--
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]