You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ma...@apache.org on 2019/01/29 06:23:28 UTC

[atlas] branch branch-0.8 updated: ATLAS-3037: createOrUpate() API updated to skip entities that don't have any change in attribute values - #2

This is an automated email from the ASF dual-hosted git repository.

madhan pushed a commit to branch branch-0.8
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/branch-0.8 by this push:
     new 85255c4  ATLAS-3037: createOrUpate() API updated to skip entities that don't have any change in attribute values - #2
85255c4 is described below

commit 85255c4fcdcf1581dfbfe2af845102bad571013f
Author: Madhan Neethiraj <ma...@apache.org>
AuthorDate: Mon Jan 28 22:22:26 2019 -0800

    ATLAS-3037: createOrUpate() API updated to skip entities that don't have any change in attribute values - #2
---
 .../apache/atlas/repository/store/graph/v1/AtlasEntityStoreV1.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityStoreV1.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityStoreV1.java
index de328e9..c783f81 100644
--- a/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityStoreV1.java
+++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/v1/AtlasEntityStoreV1.java
@@ -275,7 +275,9 @@ public class AtlasEntityStoreV1 implements AtlasEntityStore {
                         entitiesToSkipUpdate = new ArrayList<>();
                     }
 
-                    LOG.info("skipping unchanged entity: {}", entity);
+                    if (LOG.isDebugEnabled()) {
+                        LOG.debug("skipping unchanged entity: {}", entity);
+                    }
 
                     entitiesToSkipUpdate.add(entity);
                 }