You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Tzu-Li (Gordon) Tai (Jira)" <ji...@apache.org> on 2020/02/27 13:49:00 UTC
[jira] [Created] (FLINK-16312) Stateful Function's HttpFunction
falls into endless loop resending 0-sized batch requests
Tzu-Li (Gordon) Tai created FLINK-16312:
-------------------------------------------
Summary: Stateful Function's HttpFunction falls into endless loop resending 0-sized batch requests
Key: FLINK-16312
URL: https://issues.apache.org/jira/browse/FLINK-16312
Project: Flink
Issue Type: Bug
Components: Stateful Functions
Affects Versions: statefun-1.1
Reporter: Tzu-Li (Gordon) Tai
Assignee: Tzu-Li (Gordon) Tai
This is caused by FLINK-16311, because the {{HttpFunction}} was relying on contracts of {{PersistedAppendingBuffer}} that were not correct.
Specifically, the culprit is here:
https://github.com/apache/flink-statefun/blob/master/statefun-flink/statefun-flink-core/src/main/java/org/apache/flink/statefun/flink/core/httpfn/HttpFunction.java#L152
This branch checks if the obtained view is {{null}}, if not, resends a batch request.
However, that would never be {{null}} due to FLINK-16311.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)