Skip to content
  • Guido Trotter's avatar
    LockSet: handle empty case · b2dabfd6
    Guido Trotter authored
    A LockSet is mostly useful when it has some locks in it. On the other hand
    there are cases in which it must function even when empty. For example if a
    cluster has no instances in it there's no reason why locking all of them
    shouldn't work anyway. This patch adds test code for that situation and
    implements the necessary fixes to make it work.
    
    Reviewed-by: imsnah
    
    b2dabfd6