lordgamez commented on code in PR #1892:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1892#discussion_r1842255028


##########
extensions/rocksdb-repos/FlowFileRepository.cpp:
##########
@@ -142,7 +144,9 @@ void FlowFileRepository::initialize_repository() {
   }
   logger_->log_info("Reading existing flow files from database");
 
-  const auto it = opendb->NewIterator(rocksdb::ReadOptions());
+  rocksdb::ReadOptions options;
+  options.verify_checksums = verify_checksums_in_rocksdb_reads_;
+  const auto it = opendb->NewIterator(options);

Review Comment:
   Unfortunately it does not work with this type:
   ```
   error: designated initializers cannot be used with a non-aggregate type 
‘rocksdb::ReadOptions’
   ```



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

Reply via email to