Commit Graph

10 Commits

Author SHA1 Message Date
alena f6a79c603f bug 11036: resource count update is refactored
status 11036: resolved fixed

1) Use row locks instead of global lock when update resource_count table. When update resource_count for account, make sure that we lock account+all related domains
2) Insert resource_count records for account/domain at the moment when account/domain is created.
3) As a part of DB upgrade, insert missing resource_count records for all non-removed accounts/domains

Conflicts:

	core/src/com/cloud/alert/AlertManager.java
	server/test/com/cloud/agent/MockAgentManagerImpl.java
2011-09-13 10:47:36 -07:00
alena 8f9b929e3f Don't remove the domain when it has accounts that are removed, but require cleanup 2011-08-30 14:09:01 -07:00
Kelven Yang 6349b63942 Use row lock instead of global lock when creating a new domain 2011-08-18 10:42:12 -07:00
Kelven Yang 83a9e74927 guard GlobalLock lock with finally clause 2011-08-04 16:20:31 -07:00
alena 9be9a970c9 bug 10409: added domainSuffix parameters to account/domain objects 2011-07-06 16:57:19 -07:00
Murali Reddy 6310991bdc bug 9419: implement api to reset resource count
added a command to reset resource count for account/domain based on real usage of resources
2011-06-13 10:55:57 +05:30
anthony e0ba2a2fa6 clean up transation code 2011-04-12 18:56:49 -07:00
Kelven Yang f350532453 Bug 5419: use transaction lock instead of global lock when performing domain deletion operation 2011-01-03 15:10:24 -08:00
abhishek f6f5ba5529 bug 5881: fixing the domain name edit, with the updating of path of all the child domains
status 5881: resolved fixed
2010-12-03 15:35:36 -08:00
Alex Huang d38f7fd56d Moved DAO to server 2010-11-22 07:40:41 -08:00