1. 11 Jul, 2013 1 commit
    • Sofia Papagiannaki's avatar
      pithos: improve performance of get_domain_list · eed8b9e2
      Sofia Papagiannaki authored
      Before it used to query the database
      for all the objects having the specific domain
      and finally filtered out the objects to which the user had no access.
      Now gets first the allowed_paths for the user and then
      brings those having the specific domain
      
      Refs: #3510
      eed8b9e2
  2. 10 Jul, 2013 1 commit
  3. 09 Jul, 2013 3 commits
  4. 08 Jul, 2013 4 commits
  5. 04 Jul, 2013 3 commits
  6. 03 Jul, 2013 3 commits
  7. 02 Jul, 2013 3 commits
    • Georgios D. Tsoukalas's avatar
      7fd7bb9f
    • Georgios D. Tsoukalas's avatar
      2a1f3e53
    • Christos Stavrakakis's avatar
      cyclades: Wrap diagnostic creation in transaction · 6f159c83
      Christos Stavrakakis authored
      Fix bug in snf-dispatcher causing wrong updates of VMs from ganeti.
      Creation if instance diagnostics must run inside a transaction, because
      otherwise, the lock of the vm (select_for_update) is released too early.
      Specifally, 'if_update_required' takes a lock on the VM and checks if
      the timestamp of the message is newer than the one in the VM. If
      diagnostic creation ('create_instance_diagnostic' function) does not run
      inside a transaction, the lock is released when the diagnostic row is
      inserted in the DB. However, after storing the diagnostic, the VM is
      saved in order to update the 'updated' timestamp (otherwise,
      MODIFIED_SINCE does not work correctly). In the meantime, another
      message may update the VM, and this update will be lost. This commit
      wrap 'create_instance_diagnostic' inside transaction to fix this issue.
      6f159c83
  8. 01 Jul, 2013 1 commit
  9. 28 Jun, 2013 13 commits
  10. 25 Jun, 2013 8 commits