Skip to content

RwLock poisoned #56

@rillian

Description

@rillian

Our current test deployment is rejecting queries:

$ curl https://star-randsrv.bsg.brave.software/info
{"message":"Couldn't lock state: RwLock poisoned"}

This likely means the epoch update loop panicked while holding the write lock.

Also, it seems like we need to take steps to terminate the process on panic. I expected the various panic calls in that function to halt the server so k8s would restart, but tokio-runtime-worker catches it at the thread boundary and continues serving new connections.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions