[
https://issues.apache.org/jira/browse/NIFI-6148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16804015#comment-16804015
]
ASF subversion and git services commented on NIFI-6148:
-------------------------------------------------------
Commit 4de51fd3d5ac9240540f5738858ce0c8cf8a0bab in nifi's branch
refs/heads/master from Craig Davidson
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=4de51fd ]
NIFI-6148 - Added support for aggregation option 'allowDiskUse'
This closes #3389
Signed-off-by: Mike Thomsen <[email protected]>
> RunMongoAggregation - Add support for allowDiskUse option
> ---------------------------------------------------------
>
> Key: NIFI-6148
> URL: https://issues.apache.org/jira/browse/NIFI-6148
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Affects Versions: 1.9.0
> Environment: All
> Reporter: Craig Davidson
> Priority: Minor
> Labels: MongoDB, Processor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently the RunMongoAggregation processor does not allow the use of the
> 'allowDiskUse' aggregation option. This is required when aggregation pipeline
> stages exceed the maximum memory use limit (100MB) and is typically exceeded
> when working with large datasets particularly when executing $group or $sort
> operations.
>
> Pull Request will submitted in due course to add a mandatory property on the
> RunMongoAggregation processor (defaulting to false).
>
> [https://docs.mongodb.com/manual/reference/command/aggregate/#aggregate-data-using-external-sort]
> [http://mongodb.github.io/mongo-java-driver/3.10/javadoc/com/mongodb/client/AggregateIterable.html#allowDiskUse-java.lang.Boolean-]
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)