mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-19 20:14:06 +01:00
bug 9458: do searchIncludingRemoved when decrement resource count as corresponding domain might be removed already
status 9458: resolved fixed Conflicts: server/src/com/cloud/user/AccountManagerImpl.java
This commit is contained in:
parent
86f32e4735
commit
52fe53f497
File diff suppressed because it is too large
Load Diff
@ -959,7 +959,7 @@ CREATE TABLE `cloud`.`domain` (
|
|||||||
`parent` bigint unsigned,
|
`parent` bigint unsigned,
|
||||||
`name` varchar(255),
|
`name` varchar(255),
|
||||||
`owner` bigint unsigned NOT NULL,
|
`owner` bigint unsigned NOT NULL,
|
||||||
`path` varchar(255) UNIQUE NOT NULL,
|
`path` varchar(255) NOT NULL,
|
||||||
`level` int(10) NOT NULL DEFAULT 0,
|
`level` int(10) NOT NULL DEFAULT 0,
|
||||||
`child_count` int(10) NOT NULL DEFAULT 0,
|
`child_count` int(10) NOT NULL DEFAULT 0,
|
||||||
`next_child_seq` bigint unsigned NOT NULL DEFAULT 1,
|
`next_child_seq` bigint unsigned NOT NULL DEFAULT 1,
|
||||||
|
|||||||
@ -60,6 +60,7 @@ ALTER TABLE `cloud`.`host_pod_ref` ADD INDEX `i_host_pod_ref__allocation_state`(
|
|||||||
ALTER TABLE `cloud`.`host` ADD COLUMN `allocation_state` varchar(32) NOT NULL DEFAULT 'Enabled';
|
ALTER TABLE `cloud`.`host` ADD COLUMN `allocation_state` varchar(32) NOT NULL DEFAULT 'Enabled';
|
||||||
ALTER TABLE `cloud`.`host` ADD INDEX `i_host__allocation_state`(`allocation_state`);
|
ALTER TABLE `cloud`.`host` ADD INDEX `i_host__allocation_state`(`allocation_state`);
|
||||||
|
|
||||||
|
ALTER TABLE `cloud`.`domain` DROP index `path`;
|
||||||
ALTER TABLE `cloud`.`domain` ADD INDEX `i_domain__path`(`path`);
|
ALTER TABLE `cloud`.`domain` ADD INDEX `i_domain__path`(`path`);
|
||||||
|
|
||||||
CREATE TABLE `cloud`.`data_center_details` (
|
CREATE TABLE `cloud`.`data_center_details` (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user