Run async tasks that access AddressBook threaded mutexes on dedicated threads #3240
Labels
A-network
Area: Network protocol updates or fixes
C-security
Category: Security issues
I-hang
A Zebra component stops responding to requests
I-slow
Problems with performance or responsiveness
Milestone
Motivation
zebra-network
keeps on having hard-to-diagnose hangs. These hangs could be happening because theAddressBook
uses a threaded mutex, which blocks the executor, and all async tasks scheduled on the same thread.Designs
AddressBook
mutex usingspawn_blocking
, so they get their own dedicated threadblock_in_place
(this blocks tasks on the same thread, but not the whole executor)Related Work
The text was updated successfully, but these errors were encountered: