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


##########
extensions/rocksdb-repos/FlowFileRepository.h:
##########
@@ -100,11 +100,17 @@ class FlowFileRepository : public ThreadedRepository, 
public SwapManager {
     config_ = configure;
     std::string value;
 
-    if (configure->get(Configure::nifi_flowfile_repository_directory_default, 
value)) {
+    if (configure->get(Configure::nifi_flowfile_repository_directory_default, 
value) && !value.empty()) {
       directory_ = value;
     }
     logger_->log_debug("NiFi FlowFile Repository Directory %s", directory_);
 
+    value.clear();
+    if (configure->get(Configure::nifi_flowfile_checkpoint_directory_default, 
value) && !value.empty()) {
+      checkpoint_dir_ = value;
+    }
+    logger_->log_debug("NiFi FlowFile Checkpoint Directory %s", 
checkpoint_dir_);

Review Comment:
   Added fix in 9b7fd9553203ec6bfae427546e0fa214e695f17f



-- 
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: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to