You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by zi...@apache.org on 2025/07/24 13:21:54 UTC

(ozone) branch master updated: HDDS-13499. Intermittent failure in OM DB Size Reduction After Compaction (#8859)

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

zitadombi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 4d9deb78f5 HDDS-13499. Intermittent failure in OM DB Size Reduction After Compaction (#8859)
4d9deb78f5 is described below

commit 4d9deb78f5f5f0e87deacf3dc8acdee585dc890a
Author: Sarveksha Yeshavantha Raju <79...@users.noreply.github.com>
AuthorDate: Thu Jul 24 18:51:49 2025 +0530

    HDDS-13499. Intermittent failure in OM DB Size Reduction After Compaction (#8859)
---
 .../dist/src/main/compose/ozonesecure-ha/test-repair-tools.sh     | 8 ++++++++
 hadoop-ozone/dist/src/main/smoketest/repair/om-compact.robot      | 8 +-------
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/hadoop-ozone/dist/src/main/compose/ozonesecure-ha/test-repair-tools.sh b/hadoop-ozone/dist/src/main/compose/ozonesecure-ha/test-repair-tools.sh
index bdaa23564e..f181f5c657 100644
--- a/hadoop-ozone/dist/src/main/compose/ozonesecure-ha/test-repair-tools.sh
+++ b/hadoop-ozone/dist/src/main/compose/ozonesecure-ha/test-repair-tools.sh
@@ -42,4 +42,12 @@ start_docker_env
 
 execute_robot_test ${OM} kinit.robot
 
+echo "Creating test keys to verify om compaction"
+om_container="ozonesecure-ha-om1-1"
+docker exec "${om_container}" ozone freon ockg -n 100000 -t 20 -s 0 > /dev/null 2>&1
+echo "Test keys created"
+
+echo "Restarting OM after key creation to flush and generate sst files"
+docker restart "${om_container}"
+
 execute_robot_test ${OM} repair/om-compact.robot
diff --git a/hadoop-ozone/dist/src/main/smoketest/repair/om-compact.robot b/hadoop-ozone/dist/src/main/smoketest/repair/om-compact.robot
index 0786c6ee00..164cf410dc 100644
--- a/hadoop-ozone/dist/src/main/smoketest/repair/om-compact.robot
+++ b/hadoop-ozone/dist/src/main/smoketest/repair/om-compact.robot
@@ -22,13 +22,8 @@ Test Timeout        10 minutes
 
 *** Variables ***
 ${OM_DB_PATH}       /data/metadata/om.db
-${KEY_COUNT}        200000
-${THREAD_COUNT}     20
 
 *** Keywords ***
-Create Test Keys
-    Execute    ozone freon ockg -n ${KEY_COUNT} -t ${THREAD_COUNT} -s 0
-
 Delete Test Keys
     Execute    ozone fs -rm -R -skipTrash ofs://${OM_SERVICE_ID}/vol1/bucket1
 
@@ -43,8 +38,7 @@ Compact OM DB Column Family
 
 *** Test Cases ***
 Testing OM DB Size Reduction After Compaction
-    [Setup]    Create Test Keys
-    
+    # Test keys are already created and flushed
     # Delete keys to create tombstones that need compaction
     Delete Test Keys
     


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org