Abort in deadlock handler if we fail to get a query map

This commit is contained in:
John Kåre Alsaker
2025-03-16 23:59:10 +01:00
parent 01dc45c10e
commit 077b8d5c37
5 changed files with 25 additions and 12 deletions

View File

@@ -86,7 +86,7 @@ pub trait QueryContext: HasDepContext {
/// Get the query information from the TLS context.
fn current_query_job(self) -> Option<QueryJobId>;
fn collect_active_jobs(self) -> QueryMap;
fn collect_active_jobs(self) -> (QueryMap, bool);
/// Load a side effect associated to the node in the previous session.
fn load_side_effect(