« Previous | Next » 

Revision f7b7da5d

IDf7b7da5d8d52e19eb8b6e89f74c08a2a70c55892

Added by Giorgos Korfiatis about 9 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.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences