[
https://issues.apache.org/jira/browse/FLINK-16312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tzu-Li (Gordon) Tai closed FLINK-16312.
---------------------------------------
Fix Version/s: statefun-1.1
Resolution: Fixed
Fixed in master via e0eff08f04c83b5bf61721a797ef9d00a77c3d84
> 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
> Priority: Blocker
> Fix For: statefun-1.1
>
>
> 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)