tzulitai opened a new pull request #39: [FLINK-16311] [FLINK-16312] Fix PersistedAppendingBuffer contracts and HttpFunction.onAsyncResult URL: https://github.com/apache/flink-statefun/pull/39 The previous contracts for `PersistedAppendingBuffer` were not possible to be provided, since Flink `ListState` never returns `null` when retrieving the list, regardless of if the access was after a clear, or the list was actually just empty. This PR changes the contract of the `view()` method to always return non-null, and also disallow appending / update the buffer with `null` elements or lists. --- Following that, since `HttpFunction` was relying on the previous incorrect contracts, it had a problem of endlessly resend 0-sized batch requests. This PR fixes that as well by relying on the new contracts.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
