[SDK] Fix MetricReader post shutdown handling - #4548
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4548 +/- ##
==========================================
+ Coverage 86.45% 86.47% +0.02%
==========================================
Files 525 525
Lines 20450 20453 +3
==========================================
+ Hits 17679 17685 +6
+ Misses 2771 2768 -3
🚀 New features to boost your workflow:
|
|
the CAS fixes the sequential double invoke, but a concurrent second caller now gets built this branch's
mutex, or document |
Thanks, I agree I think serializing the concurrent calls here is the less surprising implementation. It also matches what BSP does. I changed it the impl to serialize each call to shutdown. This might be something we need to revisit when implementing timeout handling but I think is the better choice for now |
Fixes #4536
Changes
For significant contributions please make sure you have completed the following items:
CHANGELOG.mdupdated for non-trivial changes