You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (Jira)" <ji...@apache.org> on 2020/08/12 16:40:00 UTC
[jira] [Resolved] (NIFI-7722) Enhance error-handling during request
replication
[ https://issues.apache.org/jira/browse/NIFI-7722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Payne resolved NIFI-7722.
------------------------------
Fix Version/s: 1.12.0
Resolution: Fixed
> Enhance error-handling during request replication
> -------------------------------------------------
>
> Key: NIFI-7722
> URL: https://issues.apache.org/jira/browse/NIFI-7722
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Tamas Palfy
> Assignee: Tamas Palfy
> Priority: Major
> Fix For: 1.12.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> InĀ {{ThreadPoolRequestReplicator.NodeHttpRequest.run()}} the main logic is in a {{try}} block, during which all {{Exceptions}} are caught and handled properly. However we need to call an {{Object.notify()}} after that so it's crucial that the error handling covers every scenario.
> Because of this we should catch all {{Throwables}} (instead of only {{Exceptions}}), otherwise - should we encounter an {{Error}} for example - we might end up in a _deadlock_ state.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)