This is an automated email from the ASF dual-hosted git repository.
tanxinyu pushed a commit to branch rc/1.3.3
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rc/1.3.3 by this push:
new d0fb72dda6f Fix the order of stop schema region and clear schema
engine #13678 (#13690)
d0fb72dda6f is described below
commit d0fb72dda6f4624e7f5d402a608bdc86faa038a2
Author: Li Yu Heng <[email protected]>
AuthorDate: Wed Oct 9 14:43:15 2024 +0800
Fix the order of stop schema region and clear schema engine #13678 (#13690)
---
.../datanode/src/main/java/org/apache/iotdb/db/service/DataNode.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/DataNode.java
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/DataNode.java
index c8f0b98be91..42c242ee169 100644
---
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/DataNode.java
+++
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/DataNode.java
@@ -1189,7 +1189,6 @@ public class DataNode extends ServerCommandLine
implements DataNodeMBean {
stopTriggerRelatedServices();
registerManager.deregisterAll();
JMXService.deregisterMBean(mbeanName);
- SchemaEngine.getInstance().clear();
MetricService.getInstance().stop();
if (schemaRegionConsensusStarted) {
try {
@@ -1198,6 +1197,7 @@ public class DataNode extends ServerCommandLine
implements DataNodeMBean {
logger.warn("Exception during SchemaRegionConsensusImpl stopping", e);
}
}
+ SchemaEngine.getInstance().clear();
if (dataRegionConsensusStarted) {
try {
DataRegionConsensusImpl.getInstance().stop();