[
https://issues.apache.org/jira/browse/NIFI-3277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Rosander updated NIFI-3277:
---------------------------------
Description:
StandardProcessSession.isSpuriousRouteEvent() currently creates a Relationship
from a builder and loops over all checkpoint records for every route provenance
event generated by the processor.
This takes nontrivial time and can be mitigated by caching the Relationships
and creating a uuid -> StandardFlowFileRecord map on-demand.
was:
StandardProcessSession.isSpuriousRouteEvent() currently creates a Relationship
from a builder and loops over all checkpoint records the for every route
provenance event generated by the processor.
This takes nontrivial time and can be mitigated by caching the Relationships
and creating a uuid -> StandardFlowFileRecord map on-demand.
> StandardProcessSession.isSpuriousRouteEvent() performance
> ---------------------------------------------------------
>
> Key: NIFI-3277
> URL: https://issues.apache.org/jira/browse/NIFI-3277
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Bryan Rosander
> Assignee: Bryan Rosander
> Priority: Minor
>
> StandardProcessSession.isSpuriousRouteEvent() currently creates a
> Relationship from a builder and loops over all checkpoint records for every
> route provenance event generated by the processor.
> This takes nontrivial time and can be mitigated by caching the Relationships
> and creating a uuid -> StandardFlowFileRecord map on-demand.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)