Sarath Subramanian created ATLAS-4403:
-----------------------------------------

             Summary: Improve find entity by unique attributes logic - when 
multiple unique attributes exist for entity type
                 Key: ATLAS-4403
                 URL: https://issues.apache.org/jira/browse/ATLAS-4403
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 2.2.0
            Reporter: Sarath Subramanian
            Assignee: Sarath Subramanian
             Fix For: 2.3.0


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to