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 dd5c5a0e14 HDDS-11179. DBConfigFromFile#readFromFile result of 
toIOException not thrown (#6957)
dd5c5a0e14 is described below

commit dd5c5a0e14353a17e6d6a9bea68d49db6c2a64cc
Author: Will Xiao <[email protected]>
AuthorDate: Wed Jul 17 21:43:04 2024 +0800

    HDDS-11179. DBConfigFromFile#readFromFile result of toIOException not 
thrown (#6957)
---
 .../src/main/java/org/apache/hadoop/hdds/utils/db/DBConfigFromFile.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/DBConfigFromFile.java
 
b/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/DBConfigFromFile.java
index f23e910ba0..ba4674439d 100644
--- 
a/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/DBConfigFromFile.java
+++ 
b/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/DBConfigFromFile.java
@@ -136,7 +136,7 @@ public final class DBConfigFromFile {
               env, options, cfDescs, true);
 
         } catch (RocksDBException rdEx) {
-          toIOException("Unable to find/open Options file.", rdEx);
+          throw toIOException("Unable to find/open Options file.", rdEx);
         }
       }
     }


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

Reply via email to