[
https://issues.apache.org/jira/browse/NIFI-11210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17692261#comment-17692261
]
Paul Grey commented on NIFI-11210:
----------------------------------
The `CacheClientRequestHandler.invoke()` method calls netty function
`awaitUninterruptibly()`, with no timeout. This should be updated to use the
timeout configured for the controller service. `CacheClientChannelInitializer`
should be updated to supply the configured timeout to the request initializer.
> Missing network read timeout in DistributedMapCacheClientService
> ----------------------------------------------------------------
>
> Key: NIFI-11210
> URL: https://issues.apache.org/jira/browse/NIFI-11210
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Paul Grey
> Assignee: Paul Grey
> Priority: Minor
>
> Noted in Apache/Slack thread:
> https://apachenifi.slack.com/archives/C0L9VCD47/p1676907328887569?thread_ts=1671449357.103949&cid=C0L9VCD47
> If a client / server version handshake fails due to a network glitch, the
> DistributedMapCacheClientService can be left in a state where it stops
> processing new requests.
> Remediate by ensuring that network connection construction sets appropriate
> timeouts.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)