-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix KVSSINK State Transition Deadlock #1113
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #1113 +/- ##
===========================================
+ Coverage 16.34% 16.37% +0.02%
===========================================
Files 51 51
Lines 6846 6854 +8
===========================================
+ Hits 1119 1122 +3
- Misses 5727 5732 +5 ☔ View full report in Codecov by Sentry. |
Co-authored-by: Niyati Maheshwari <niyatim23@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested using kvssink_gstreamer_sample to successfully ingest stream and cleanly exit upon sigint with videotestsrc, filesrc, and rtspsrc sources.
Before this change does this scenario result in an error? Do we have a situtation/test where before this change we had a deadlock and after we do not? It would be a good test case to have to make sure we do not regress in the future.
@hassanctech No errors from my testing, we have a customer who states they had a deadlock before implementing this change. Let's discus setting up a test, maybe based on their implementation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
Move parent state transition to be in between upward and downward element transitions as per GStreamer documentation.
Tested using
kvssink_gstreamer_sample
to successfully ingest stream and cleanly exit upon sigint with videotestsrc, filesrc, and rtspsrc sources.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.