Skip to content

Commit

Permalink
Fix the order of stop schema region and clear schema engine #13678
Browse files Browse the repository at this point in the history
  • Loading branch information
liyuheng55555 authored Oct 9, 2024
1 parent 5bae763 commit e09a98b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,6 @@ public void stop() {
stopTriggerRelatedServices();
registerManager.deregisterAll();
JMXService.deregisterMBean(mbeanName);
SchemaEngine.getInstance().clear();
MetricService.getInstance().stop();
if (schemaRegionConsensusStarted) {
try {
Expand All @@ -1202,6 +1201,7 @@ public void stop() {
logger.warn("Exception during SchemaRegionConsensusImpl stopping", e);
}
}
SchemaEngine.getInstance().clear();
if (dataRegionConsensusStarted) {
try {
DataRegionConsensusImpl.getInstance().stop();
Expand Down

0 comments on commit e09a98b

Please sign in to comment.