cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sw...@apache.org
Subject [3/3] git commit: updated refs/heads/master to 06c6b36
Date Fri, 13 May 2016 21:05:24 GMT
Merge pull request #1532 from exoscale/fix/db-cache-miss

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>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/06c6b367
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/06c6b367
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/06c6b367

Branch: refs/heads/master
Commit: 06c6b367e7633ef7ce1d6e68a9afddaf3a89a8c1
Parents: f2f895a 39aa0e4
Author: Will Stevens <williamstevens@gmail.com>
Authored: Fri May 13 17:04:56 2016 -0400
Committer: Will Stevens <williamstevens@gmail.com>
Committed: Fri May 13 17:04:57 2016 -0400

----------------------------------------------------------------------
 .../src/com/cloud/utils/db/GenericDaoBase.java  | 25 ++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)
----------------------------------------------------------------------



Mime
View raw message