chaitalicod commented on code in PR #406:
URL: https://github.com/apache/atlas/pull/406#discussion_r2330103345


##########
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/AtlasEntityStoreV2.java:
##########
@@ -577,6 +577,53 @@ public EntityMutationResponse purgeByIds(Set<String> 
guids) throws AtlasBaseExce
         return ret;
     }
 
+    @Override
+    @GraphTransaction
+    public EntityMutationResponse 
schedulePurgeEntities(Set<String>purgeCandidates) throws AtlasBaseException {
+        LOG.info("==> schedulePurgeEntities()");
+
+        Collection<AtlasVertex>purgeVertices = new ArrayList<>();
+        EntityMutationResponse response      = new EntityMutationResponse();
+
+        RequestContext requestContext = RequestContext.get();
+        requestContext.setDeleteType(DeleteType.HARD);// hard deleter

Review Comment:
   Can you please share how much data this patch was tested with 
   what was Atlas memory how much time it took etc



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to