-
-
Notifications
You must be signed in to change notification settings - Fork 178
Open
Labels
RustSDKSDK
Description
When we aquire mutex/rwlocks in the SDK, we typically unwrap them. This would cause a panic if the lock is "poisoned", which occurs when the thread that was holding the lock panics.
I think that, at least in some cases, we can gracefully handle such a scenario without panicking, and we can just log a message instead. For example, when acquiring the Batcher locks (for logs and metrics), we could just log a message, then replace the existing batcher with a new one
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
RustSDKSDK