This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 8845c2cf44 [fix](bdbje) remove `System.exit(-1)` in
BDBEnvironment.close() (#19335)
8845c2cf44 is described below
commit 8845c2cf44d6efbdcf753d304a9cd9f657b6c41d
Author: Lei Zhang <[email protected]>
AuthorDate: Thu May 11 01:01:38 2023 +0800
[fix](bdbje) remove `System.exit(-1)` in BDBEnvironment.close() (#19335)
* https://github.com/apache/doris/issues/18766
---
.../src/main/java/org/apache/doris/journal/bdbje/BDBEnvironment.java | 4 ----
1 file changed, 4 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/journal/bdbje/BDBEnvironment.java
b/fe/fe-core/src/main/java/org/apache/doris/journal/bdbje/BDBEnvironment.java
index 2d379801c8..92bd5c2ef2 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/journal/bdbje/BDBEnvironment.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/journal/bdbje/BDBEnvironment.java
@@ -362,7 +362,6 @@ public class BDBEnvironment {
db.close();
} catch (DatabaseException exception) {
LOG.error("Error closing db {} will exit",
db.getDatabaseName(), exception);
- System.exit(-1);
}
}
openedDatabases.clear();
@@ -372,7 +371,6 @@ public class BDBEnvironment {
epochDB.close();
} catch (DatabaseException exception) {
LOG.error("Error closing db {} will exit",
epochDB.getDatabaseName(), exception);
- System.exit(-1);
}
}
@@ -382,7 +380,6 @@ public class BDBEnvironment {
replicatedEnvironment.close();
} catch (DatabaseException exception) {
LOG.error("Error closing replicatedEnvironment", exception);
- System.exit(-1);
}
}
}
@@ -396,7 +393,6 @@ public class BDBEnvironment {
replicatedEnvironment.close();
} catch (DatabaseException exception) {
LOG.error("Error closing replicatedEnvironment", exception);
- System.exit(-1);
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]