find_lock_conflicts

Function find_lock_conflicts 

Source
fn find_lock_conflicts<'a>(
    parent_keys: impl Iterator<Item = &'a StringKey>,
    child_keys: impl Iterator<Item = &'a StringKey>,
) -> Vec<String>
Expand description

Returns a list of conflicting lock keys between a parent and a child procedure. Evaluates the Read/Write lock compatibility matrix:

  • Share + Share => Compatible
  • Exclusive + Any => Conflict
  • Any + Exclusive => Conflict