cloudstack/api/src/com/cloud/configuration
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
..
Configuration.java api refactoring 2010-11-21 12:00:21 -08:00
ConfigurationService.java bug 10681: for serviceOfferings, diskOfferings, templates/isos return records with not null Removed field on findById method call 2011-07-13 18:25:13 -07:00
ResourceCount.java api refactoring 2010-11-21 12:00:21 -08:00
ResourceLimit.java bug 11036: resource count update is refactored 2011-09-13 10:47:36 -07:00