From 73d92159860139836582b2d8bc9adb2c0a40ab1c Mon Sep 17 00:00:00 2001 From: PRATHAM2002-DS Date: Tue, 9 Jul 2024 11:49:16 +0530 Subject: [PATCH] handled default delete type case --- .../graph/v2/preprocessor/datamesh/DataProductPreProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/preprocessor/datamesh/DataProductPreProcessor.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/preprocessor/datamesh/DataProductPreProcessor.java index 19827354c8..a619aad063 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/preprocessor/datamesh/DataProductPreProcessor.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/preprocessor/datamesh/DataProductPreProcessor.java @@ -442,7 +442,7 @@ public void processDelete(AtlasVertex vertex) throws AtlasBaseException { } } } - if(RequestContext.get().getDeleteType() == DeleteType.SOFT){ + if(RequestContext.get().getDeleteType() == DeleteType.SOFT || RequestContext.get().getDeleteType() == DeleteType.DEFAULT){ vertex.setProperty(DAAP_STATUS_ATTR, DAAP_ARCHIVED_STATUS); } }