« Previous | Next » 

Revision 9d5b1371

ID9d5b1371c473b6dc14494a2ced605d7fa9aabe78

Added by Michael Hanselmann about 11 years ago

Fix race condition in LUGroupAssignNodes

The original code would get all node information and their groups
without before acquiring the necessary locks. With this patch the node
information is only retrieved once all locks have been acquired. Groups
are locked optimistically and verified after acquiring the node locks.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences