« Previous | Next » 

Revision f7b7da5d


Added by Giorgos Korfiatis over 10 years ago

quotaholder: Lock holdings in a single query

Order by primary key when selecting multiple holdings for update;
this most probably ensures that locking will happen in that order.

As per commit 2f90645, we select all holdings for the given holders,
rather that specifying all tuples (holder, source, resource), in order
to avoid query explosion.


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences