atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Madhan Neethiraj <mad...@apache.org>
Subject Review Request 53417: ATLAS-1266: fixed typedef APIs to update type-registry only on successful graph commit
Date Thu, 03 Nov 2016 01:22:47 GMT

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

Review request for atlas, Apoorv Naik, Sarath Subramanian, Suma Shivaprasad, and Vimal Sharma.


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


Repository: atlas


Description
-------

Introduced PostTransactionHook in GraphTransactionInterceptor, which is used to ensure that
type-registry is updated only after successful commit of changes in graph store


Diffs
-----

  intg/src/main/java/org/apache/atlas/type/AtlasTypeRegistry.java 95a5054 
  repository/src/main/java/org/apache/atlas/GraphTransactionInterceptor.java 1f8affe 
  repository/src/main/java/org/apache/atlas/RepositoryMetadataModule.java 0325c80 
  repository/src/main/java/org/apache/atlas/repository/graph/GraphBackedSearchIndexer.java
3c7f63b 
  repository/src/main/java/org/apache/atlas/repository/store/graph/AtlasTypeDefGraphStore.java
68d2781 
  repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasTypeDefGraphStoreV1.java
878f355 

Diff: https://reviews.apache.org/r/53417/diff/


Testing
-------

Verified that PostTransactionHook works as expected by adding/udating/deleting types via REST
APIs.


Thanks,

Madhan Neethiraj


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message