[
https://issues.apache.org/jira/browse/FLINK-9579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16513977#comment-16513977
]
ASF GitHub Bot commented on FLINK-9579:
---------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/flink/pull/6162
> Remove unnecessary clear with cep elementQueue
> ----------------------------------------------
>
> Key: FLINK-9579
> URL: https://issues.apache.org/jira/browse/FLINK-9579
> Project: Flink
> Issue Type: Improvement
> Components: CEP
> Affects Versions: 1.5.0
> Reporter: aitozi
> Assignee: aitozi
> Priority: Major
>
> when deal with eventtime, the elementQueueState is cleared when
> sortedTimestamps isEmpty, but I think this operation is not needed because
> the elements in elementQueueState are all removed if the sortedTimestamps
> isEmpty, and do not need to clear again to spend time on rocksdb operation?
> what's your idea [~dawidwys]?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)