GitHub user Aitozi opened a pull request:
https://github.com/apache/flink/pull/6162
[FLINK-9579][CEP]Remove unneeded clear on elementQueueState
## What is the purpose of the change
Remove unneeded clear on elementQueueStateï¼ when soretedTimestamp is
empty, the elements in elementQueueState are all removed, so don't need to
clear again to waste time on RocksDB operation.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Aitozi/flink remove-clear
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/6162.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6162
----
commit 62a1a506cf8dab263a247d81fa7092eaa0743624
Author: minwenjun <minwenjun@...>
Date: 2018-06-14T06:20:42Z
[FLINK-9579][CEP]Remove unneeded clear on elementQueueState
----
---