[
https://issues.apache.org/jira/browse/ATLAS-2992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16800162#comment-16800162
]
Madhan Neethiraj commented on ATLAS-2992:
-----------------------------------------
[~api123] - thanks for the detailed description of the issue. This issue was
addressed with the updates in ATLAS-3037 (fixed entity-updated detection to
handle object-id attributes correctly). In addition to this, RDBMS model
updates in ATLAS-3056 (updated rdbms types to remove use of
ownedRef/inverseRef) will help improve the performance. Please review.
> Rdbms model
> -----------
>
> Key: ATLAS-2992
> URL: https://issues.apache.org/jira/browse/ATLAS-2992
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Affects Versions: 1.0.0
> Reporter: charles shen
> Priority: Minor
>
> There's ownedRef/inverseRef between "rdbms_instance.database,
> rdbms_db.instance" and "rdbms_db.tables, rdbms_table.db" and more. This
> caused some performance issue described below:
> When creating a rdbms_db with referenced entity rdbms_intance, both rdbms_db
> and rdbms_instance will be created, but when creating another rdbms_db with
> the same rdbms_instance, the rdbms_instance will be treated as update though
> they are indeed the same. Looking into the rdbms model, rdbms_instance has
> attribute "databases" and rdbms_db has attribute "instance" constrained with
> inverseref to "databases" attribute to rdbms_instance. One more thins is the
> relationship between rdbms_db and rdbms_instance and etc... are already
> defined in relationship types.
> So for first creation, rdbms_db will populate the "databases" attribute for
> rdbms_instance, for the second creation, altas will consider the
> rdbms_instance not equal since the "databases" attributes are different. This
> sounds like a model bug.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)