make SingleProcessStreamReceiver always synchronize patternSyncObject before locking the lockWrapper in process method
Approach
1 Modify ProcessStreamReceiver#process to be protected method
2 Overwrite the process mothod in SingleProcessStreamReceiver, in the method we synchronize the patternSyncObject first then call the process method of super class
3 delete synchronization of patternSyncObject in the processAndClear method
Release note
Fix deadlock on sending data concurrently to pattern query
Purpose
Resolves issue#1790
Goals
make
SingleProcessStreamReceiver
always synchronizepatternSyncObject
before locking thelockWrapper
inprocess
methodApproach
1 Modify
ProcessStreamReceiver#process
to be protected method 2 Overwrite theprocess
mothod inSingleProcessStreamReceiver
, in the method we synchronize thepatternSyncObject
first then call theprocess
method of super class 3 delete synchronization ofpatternSyncObject
in theprocessAndClear
methodRelease note
Fix deadlock on sending data concurrently to pattern query
Documentation
N/A
Automation tests
N/A
Security checks
Samples
Related PRs
Test environment
1.8