You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by ag...@apache.org on 2025/06/03 12:33:49 UTC

(ozone) branch master updated: HDDS-12817. Addendum rename ecIndex to replicaIndex in chunkinfo output (#8552)

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

agupta 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 46a93d0150 HDDS-12817. Addendum rename ecIndex to replicaIndex in chunkinfo output (#8552)
46a93d0150 is described below

commit 46a93d0150ea56a433d2d391e413beca2a97c66b
Author: Soumitra Sulav <40...@users.noreply.github.com>
AuthorDate: Tue Jun 3 18:03:44 2025 +0530

    HDDS-12817. Addendum rename ecIndex to replicaIndex in chunkinfo output (#8552)
---
 .../org/apache/hadoop/ozone/debug/replicas/chunk/ChunkKeyHandler.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/debug/replicas/chunk/ChunkKeyHandler.java b/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/debug/replicas/chunk/ChunkKeyHandler.java
index 91f5e87ca4..95b1a97914 100644
--- a/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/debug/replicas/chunk/ChunkKeyHandler.java
+++ b/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/debug/replicas/chunk/ChunkKeyHandler.java
@@ -196,7 +196,7 @@ protected void execute(OzoneClient client, OzoneAddress address)
               // e.g. for RS-3-2 we will have data indexes 1,2,3 and parity indexes 4,5
               ChunkType chunkType = (replicaIndex > dataCount) ? ChunkType.PARITY : ChunkType.DATA;
               jsonObj.put("chunkType", chunkType.name());
-              jsonObj.put("ecIndex", replicaIndex);
+              jsonObj.put("replicaIndex", replicaIndex);
             }
           }
         } catch (InterruptedException e) {


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