atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashutosh Mestry <ames...@hortonworks.com>
Subject Review Request 62255: ATLAS-2129: Addressed Case Where Abrupt Shutdown of Atlas During Import Retains Entities Imported Before Shutdown
Date Tue, 12 Sep 2017 18:52:45 GMT

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

Review request for atlas and Madhan Neethiraj.


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


Repository: atlas


Description
-------

**Background**
Existing implementation of _bulkImport_ was done in single transaction. This can potentially
lead to case where abrupt shutdown of Atlas during Import will not retain entities already
imported, this renders resume Import cability useless.

**Implementation**
- Removed _GraphTransaction_ from _bulkImport_.
- New method _createOrUpdateForImport_ which is under trasaction scope.


Diffs
-----

  repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityStoreV1.java
1c168b4 


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


Testing
-------

**Unit tests**
No new tests added.

**Functional tests**
Import API tested.


Thanks,

Ashutosh Mestry


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