[
https://issues.apache.org/jira/browse/FLINK-11102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-11102:
-----------------------------------
Labels: auto-deprioritized-major auto-unassigned (was: auto-unassigned
stale-major)
Priority: Minor (was: Major)
This issue was labeled "stale-major" 7 ago and has not received any updates so
it is being deprioritized. If this ticket is actually Major, please raise the
priority and ask a committer to assign you the issue or revive the public
discussion.
> Enable check for previous data in SpanningRecordSerializer
> ----------------------------------------------------------
>
> Key: FLINK-11102
> URL: https://issues.apache.org/jira/browse/FLINK-11102
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Network
> Affects Versions: 1.8.0
> Reporter: Nico Kruber
> Priority: Minor
> Labels: auto-deprioritized-major, auto-unassigned
>
> {{SpanningRecordSerializer}} only verifies that there is no left-over data
> from a previous serialization call if {{SpanningRecordSerializer#CHECKED}} is
> {{true}} but this is hard-coded as {{false}}. Now if there was previous data,
> we would silently drop this and continue with our data. The deserializer
> would probably notice and fail but identifying the root cause may not be as
> easy anymore.
> -> We should enable that check by default since the only thing it does is to
> verify {{!java.nio.Buffer#hasRemaining()}} which cannot be too expensive.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)