mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
DAO: Hit the cache for entity flagged as removed tooI came along this part of the code and I don't see any reason why the cache should not be used when fetching with the "removed" ones. It will help decrease the number of DB queries. *It can be merged in many CS versions* * pr/1532: DAO: Rewrite change for method findByIdIncludingRemoved(ID id) dao: Hit the cache for entity flagged as removed too since they are put in cache afterwards. Signed-off-by: Will Stevens <williamstevens@gmail.com>