wso2 / product-is

Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
748 stars 727 forks source link

Blocked worker threads on event dispatching process. #11817

Closed janithcmw closed 2 days ago

janithcmw commented 3 years ago

Describe the issue: When the events are reaching to the IS-Analytics server, the 1st data bridge worker thread is waiting on the event dispatching and due to the acquired locks of the same thread, the other data bridge worker threads will spawn and wait until the process of the 1st thread is completed.

Due to this, there will be no event acceptance from the thrift after the 20 data bridge threads are completely occupied and there are no database insertions as well.

How to reproduce: Populate a dataset with possible primary key occurrences in the upcoming aggregations and start the server, then push events to the Analytics server. Then the aggregation process will be triggered and the thread behavior can be observed.

Expected behavior: The analytics server should not stop the event acceptance process.

Environment information (Please complete the following information; remove any unnecessary fields) :

isharak commented 2 days ago

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!