----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/12854/#review23694 -----------------------------------------------------------
Commit e2e3b9a2884d4f1029aa5e0bb5137160fd794b24 in branch refs/heads/4.2 from Sanjay Tripathi [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=e2e3b9a ] CLOUDSTACK-3727: Resource Count calculation happens for deleted accounts on restart of managment server. Signed-off-by: Prasanna Santhanam <t...@apache.org> (cherry picked from commit a7084b2dac594a5851e32be692863fb9f7b23d9d) - ASF Subversion and Git Services On July 23, 2013, 12:54 p.m., Sanjay Tripathi wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/12854/ > ----------------------------------------------------------- > > (Updated July 23, 2013, 12:54 p.m.) > > > Review request for cloudstack and Devdeep Singh. > > > Bugs: CLOUDSTACK-3727 > > > Repository: cloudstack-git > > > Description > ------- > > CLOUDSTACK-3727: Resource Count calculation happens for deleted accounts on > restart of managment server. > > The method is listing all the accounts/domains including the removed ones > which causes unnecessary insertion of the entries in the resource_count table. > > > Diffs > ----- > > server/src/com/cloud/server/ConfigurationServerImpl.java 9a9b145 > > Diff: https://reviews.apache.org/r/12854/diff/ > > > Testing > ------- > > Verified that during the startup/restart of MS, resourcetype insertion for > removed accounts is not happening. > > > Thanks, > > Sanjay Tripathi > >