[ https://issues.apache.org/jira/browse/FLINK-16929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Flink Jira Bot updated FLINK-16929: ----------------------------------- Labels: auto-deprioritized-major stale-minor (was: auto-deprioritized-major) I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help the community manage its development. I see this issues has been marked as Minor but is unassigned and neither itself nor its Sub-Tasks have been updated for 180 days. I have gone ahead and marked it "stale-minor". If this ticket is still Minor, please either assign yourself or give an update. Afterwards, please remove the label or in 7 days the issue will be deprioritized. > Session Window produces sessions randomly > ----------------------------------------- > > Key: FLINK-16929 > URL: https://issues.apache.org/jira/browse/FLINK-16929 > Project: Flink > Issue Type: Bug > Components: API / DataStream > Affects Versions: 1.9.1 > Reporter: Ori Popowski > Priority: Minor > Labels: auto-deprioritized-major, stale-minor > Attachments: image-2020-04-01-19-56-00-239.png, > image-2020-04-01-19-56-27-720.png, image-2020-04-06-12-11-01-138.png > > > We have a Flink job which keyBys session ID (sId), and uses a session window > with 30 minutes gap: > {code:java} > inputStream > .keyBy(keySelector) > .window(EventTimeSessionWindows.withGap(Time.minutes(30))) > .allowedLateness(Time.seconds(0L)) > {code} > This Flink job reads from Kinesis stream. > Lately (I suspect after upgrading from 1.5.4 to 1.9.1) we get too many > sessions, with gaps of several seconds (instead of 30 minutes). > We have no idea why it's happening and suspect a Flink bug or a state backend > bug (we use RocksDB). > I haven't found any indication in the logs except for some read throughput > warnings which were resolved by a backoff. > Attached is a table of derived sessions, and then the raw events > *Sessions* > !image-2020-04-01-19-56-00-239.png|width=753,height=406! > > *Events* > > !image-2020-04-01-19-56-27-720.png|width=312,height=383! > > > > -- This message was sent by Atlassian Jira (v8.20.1#820001)