You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "szaszm (via GitHub)" <gi...@apache.org> on 2023/09/08 07:03:20 UTC

[GitHub] [nifi-minifi-cpp] szaszm commented on a diff in pull request #1640: MINIFICPP-1951 - Prevent append overwriting resource

szaszm commented on code in PR #1640:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1640#discussion_r1319445097


##########
libminifi/include/core/ContentRepository.h:
##########
@@ -30,13 +31,23 @@
 #include "ContentSession.h"
 #include "core/RepositoryMetricsSource.h"
 #include "core/Core.h"
+#include "core/StreamAppendLock.h"
 
 namespace org::apache::nifi::minifi::core {
 
 /**
  * Content repository definition that extends StreamManager.
  */
 class ContentRepository : public core::CoreComponent, public StreamManager<minifi::ResourceClaim>, public utils::EnableSharedFromThis<ContentRepository>, public core::RepositoryMetricsSource {
+  class ContentStreamAppendLock : public StreamAppendLock {

Review Comment:
   What necessitates the class hierarchy here?



-- 
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-unsubscribe@nifi.apache.org

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