-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73549/
-----------------------------------------------------------
Review request for atlas, Ashutosh Mestry, Disha Talreja, Madhan Neethiraj,
Radhika Kundam, and Sidharth Mishra.
Bugs: ATLAS-4403
https://issues.apache.org/jira/browse/ATLAS-4403
Repository: atlas
Description
-------
When a entity type has multiple unique attributes defined:
unique_attr1
unique_attr2
During creation of entity, we check if entity with unique attributes is already
present and return/update them. The current logic check if entity is present -
one unique attribute at a time, if present will return immediately.
We should improve the lookup logic to look for entity with all unique
attributes specified and not just return on the first unique attribute value.
Diffs
-----
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasGraphUtilsV2.java
e73f084b8
Diff: https://reviews.apache.org/r/73549/diff/1/
Testing
-------
Pre-commit:
https://ci-builds.apache.org/job/Atlas/job/PreCommit-ATLAS-Build-Test/822/consoleFull
(SUCCESS)
Thanks,
Sarath Subramanian