This is an automated email from the ASF dual-hosted git repository.
peeyush pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git
The following commit(s) were added to refs/heads/master by this push:
new 7018a86f04 [NO ISSUE] unregister shutdown hook on CC stop
7018a86f04 is described below
commit 7018a86f04dc48be227d8eb5ada90622ab1def79
Author: Peeyush Gupta <[email protected]>
AuthorDate: Wed Jun 12 16:19:39 2024 -0700
[NO ISSUE] unregister shutdown hook on CC stop
Change-Id: I48846ab8560ce0da64e74647de1849554d44dc6e
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/18371
Reviewed-by: Peeyush Gupta <[email protected]>
Reviewed-by: Ian Maxon <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
---
.../main/java/org/apache/asterix/hyracks/bootstrap/CCApplication.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/asterixdb/asterix-app/src/main/java/org/apache/asterix/hyracks/bootstrap/CCApplication.java
b/asterixdb/asterix-app/src/main/java/org/apache/asterix/hyracks/bootstrap/CCApplication.java
index f19dea6059..972417443c 100644
---
a/asterixdb/asterix-app/src/main/java/org/apache/asterix/hyracks/bootstrap/CCApplication.java
+++
b/asterixdb/asterix-app/src/main/java/org/apache/asterix/hyracks/bootstrap/CCApplication.java
@@ -293,6 +293,7 @@ public class CCApplication extends BaseCCApplication {
@Override
public void stop() throws Exception {
LOGGER.info("Stopping Asterix cluster controller");
+ super.stop();
appCtx.getClusterStateManager().setState(SHUTTING_DOWN);
((ActiveNotificationHandler)
appCtx.getActiveNotificationHandler()).stop();
AsterixStateProxy.unregisterRemoteObject();