----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/73549/#review223418 -----------------------------------------------------------
Ship it! Ship It! - Sidharth Mishra On Aug. 26, 2021, 8:32 p.m., Sarath Subramanian wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/73549/ > ----------------------------------------------------------- > > (Updated Aug. 26, 2021, 8:32 p.m.) > > > Review request for atlas, Ashutosh Mestry, Disha Talreja, Jayendra Parab, > Madhan Neethiraj, Nikhil Bonte, Nixon Rodrigues, 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/5/ > > > Testing > ------- > > Pre-commit: > https://ci-builds.apache.org/job/Atlas/job/PreCommit-ATLAS-Build-Test/822/consoleFull > (SUCCESS) > > > Thanks, > > Sarath Subramanian > >
