This is an automated email from the ASF dual-hosted git repository.
joewitt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new c75fa3857e NIFI-9885: This closes #5938. When creating ContainerState,
ensure that we pass the correct value for the archiveEnabled flag.
c75fa3857e is described below
commit c75fa3857e4df9df14e8c0af3f1fed1658c3f990
Author: Mark Payne <[email protected]>
AuthorDate: Wed Apr 6 15:56:53 2022 -0400
NIFI-9885: This closes #5938. When creating ContainerState, ensure that we
pass the correct value for the archiveEnabled flag.
Signed-off-by: Joe Witt <[email protected]>
---
.../org/apache/nifi/controller/repository/FileSystemRepository.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/FileSystemRepository.java
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/FileSystemRepository.java
index 689487f164..52dad6e1fa 100644
---
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/FileSystemRepository.java
+++
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/FileSystemRepository.java
@@ -221,7 +221,7 @@ public class FileSystemRepository implements
ContentRepository {
}
}
- if (maxArchiveRatio > 0D) {
+ if (archiveData && maxArchiveRatio > 0D) {
for (final Map.Entry<String, Path> container :
containers.entrySet()) {
final String containerName = container.getKey();