Currently, server/services/session.rs:activate_session, locks session, then later in server/events/audit/mod.rs:AuditLog::raise_and_log, locks address_space. Meanwhile spawn_subscription_task locks address_space then session. This reorders the spawn_subscription_task lock ordering to match.
Currently,
server/services/session.rs:activate_session
, lockssession
, then later inserver/events/audit/mod.rs:AuditLog::raise_and_log
, locksaddress_space
. Meanwhilespawn_subscription_task
locksaddress_space
thensession
. This reorders thespawn_subscription_task
lock ordering to match.