Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.7.0
-
None
-
None
Description
It appears as though the calculation of maxArchiveBytes in FileSystemRepository.java might be backwards. The line in question[1] is:
final long maxArchiveBytes = (long) (capacity * (1D - (maxArchiveRatio - 0.02)));
if you say capacity = 1000, then you get the following:
maxArchiveRatio = .1 ==> maxArchiveBytes = 920
maxArchiveRatio = .5 ==> maxArchiveBytes = 520
maxArchiveRatio = .9 ==> maxArchiveBytes = 120
In other words, as you increase the nifi.content.repository.archive.max.usage.percentage, you would be decreasing the bytes allowed for archiving...
Attachments
Issue Links
- links to