From 4184d3064475a19f56e60fefd7d02c0cc9e1f002 Mon Sep 17 00:00:00 2001 From: hr2904 Date: Wed, 21 Aug 2024 18:15:19 +0530 Subject: [PATCH] changed the batch size to a small value for easy testing purposes. --- .../atlas/repository/store/graph/v2/EntityGraphMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java index bbaab1c1ec..a130bf15ac 100644 --- a/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java +++ b/repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphMapper.java @@ -190,7 +190,7 @@ public class EntityGraphMapper { private static final boolean RESTRICT_PROPAGATION_THROUGH_LINEAGE_DEFAULT = false; private static final boolean RESTRICT_PROPAGATION_THROUGH_HIERARCHY_DEFAULT = false; - public static final int CLEANUP_BATCH_SIZE = 200000; + public static final int CLEANUP_BATCH_SIZE = 250; private boolean DEFERRED_ACTION_ENABLED = AtlasConfiguration.TASKS_USE_ENABLED.getBoolean(); private boolean DIFFERENTIAL_AUDITS = STORE_DIFFERENTIAL_AUDITS.getBoolean();