-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/69300/
-----------------------------------------------------------

Review request for atlas, Ashutosh Mestry, Madhan Neethiraj, and Nixon 
Rodrigues.


Bugs: ATLAS-2959
    https://issues.apache.org/jira/browse/ATLAS-2959


Repository: atlas


Description
-------

Update metrics query to use index query instead of graph query for faster 
response


Diffs
-----

  
graphdb/api/src/main/java/org/apache/atlas/repository/graphdb/AtlasIndexQuery.java
 6bad17324 
  
graphdb/janus/src/main/java/org/apache/atlas/repository/graphdb/janus/AtlasJanusIndexQuery.java
 f605266ae 
  repository/src/main/java/org/apache/atlas/services/MetricsService.java 
c850f23a0 
  repository/src/test/java/org/apache/atlas/services/MetricsServiceTest.java 
a6287ed6b 


Diff: https://reviews.apache.org/r/69300/diff/1/


Testing
-------

Precommit:
master: 
https://builds.apache.org/view/A/view/Atlas/job/PreCommit-ATLAS-Build-Test/785/console
branch-0.8: 
https://builds.apache.org/view/A/view/Atlas/job/PreCommit-ATLAS-Build-Test/786/console

Validated in perf cluster that metrics query now takes ~800ms better than 27 
min earlier


Thanks,

Sarath Subramanian

Reply via email to