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

adoroszlai 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 c78aeb0ed3 HDDS-12951. EC: Log when falling back to reconstruction 
read (#8408)
c78aeb0ed3 is described below

commit c78aeb0ed3e64b3b07e60da4897340ee7850b800
Author: Galsza <[email protected]>
AuthorDate: Thu May 8 14:40:47 2025 +0200

    HDDS-12951. EC: Log when falling back to reconstruction read (#8408)
---
 .../org/apache/hadoop/ozone/client/io/ECBlockInputStreamProxy.java     | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/hadoop-hdds/client/src/main/java/org/apache/hadoop/ozone/client/io/ECBlockInputStreamProxy.java
 
b/hadoop-hdds/client/src/main/java/org/apache/hadoop/ozone/client/io/ECBlockInputStreamProxy.java
index 15986c2d3b..3411f02884 100644
--- 
a/hadoop-hdds/client/src/main/java/org/apache/hadoop/ozone/client/io/ECBlockInputStreamProxy.java
+++ 
b/hadoop-hdds/client/src/main/java/org/apache/hadoop/ozone/client/io/ECBlockInputStreamProxy.java
@@ -117,6 +117,9 @@ private synchronized void setReaderType() {
     int expected = expectedDataLocations(repConfig, getLength());
     int available = availableDataLocations(blockInfo.getPipeline(), expected);
     reconstructionReader = available < expected;
+    if (reconstructionReader) {
+      LOG.info("Data locations available: {} < expected: {}, using 
reconstruction read", available, expected);
+    }
   }
 
   private void createBlockReader() {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to