mirror of https://github.com/apache/nifi.git
NIFI-3971: This closes #1854. Fixed bug in calculating content size that was transferred when cloning a relationship
Signed-off-by: joewitt <joewitt@apache.org>
This commit is contained in:
parent
5aa3baca79
commit
eaefec6d81
|
@ -1883,12 +1883,12 @@ public final class StandardProcessSession implements ProcessSession, ProvenanceE
|
|||
record.setTransferRelationship(relationship);
|
||||
updateLastQueuedDate(record);
|
||||
|
||||
contentSize += flowFile.getSize() * multiplier;
|
||||
contentSize += flowFile.getSize();
|
||||
}
|
||||
|
||||
if (autoTerminated) {
|
||||
removedCount += multiplier * flowFiles.size();
|
||||
removedBytes += contentSize;
|
||||
removedBytes += multiplier * contentSize;
|
||||
} else if (!selfRelationship) {
|
||||
flowFilesOut += multiplier * flowFiles.size();
|
||||
contentSizeOut += multiplier * contentSize;
|
||||
|
|
Loading…
Reference in New Issue