Skip to content

Commit 7a46272

Browse files
authored
Fix typos: 'occured' in log, 'seperated' in comments (#17488)
Co-authored-by: MukundaKatta <mukundakatta@users.noreply.github.com>
1 parent 608fa6c commit 7a46272

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/ProcedureExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ private ProcedureLockState executeRollback(Procedure<Env> procedure) {
666666
} catch (IOException e) {
667667
LOG.error("Roll back failed for {}", procedure, e);
668668
} catch (InterruptedException e) {
669-
LOG.warn("Interrupted exception occured for {}", procedure, e);
669+
LOG.warn("Interrupted exception occurred for {}", procedure, e);
670670
} catch (Throwable t) {
671671
LOG.error("CODE-BUG: runtime exception for {}", procedure, t);
672672
}

iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/distribution/SourceRewriter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,7 +1376,7 @@ private Map<TRegionReplicaSet, List<SourceNode>> groupBySourceNodes(
13761376
Map<String, Map<Integer, List<TRegionReplicaSet>>> cachedRegionReplicas = new HashMap<>();
13771377
for (PlanNode child : node.getChildren()) {
13781378
if (child instanceof SeriesSourceNode) {
1379-
// If the child is SeriesScanNode, we need to check whether this node should be seperated
1379+
// If the child is SeriesScanNode, we need to check whether this node should be separated
13801380
// into several splits.
13811381
SeriesSourceNode sourceNode = (SeriesSourceNode) child;
13821382
List<TRegionReplicaSet> dataDistribution =
@@ -1389,7 +1389,7 @@ private Map<TRegionReplicaSet, List<SourceNode>> groupBySourceNodes(
13891389
// If there is some series which is distributed in multi DataRegions
13901390
context.setOneSeriesInMultiRegion(true);
13911391
}
1392-
// If the size of dataDistribution is N, this SeriesScanNode should be seperated into N
1392+
// If the size of dataDistribution is N, this SeriesScanNode should be separated into N
13931393
// SeriesScanNode.
13941394
for (TRegionReplicaSet dataRegion : dataDistribution) {
13951395
SeriesSourceNode split =

0 commit comments

Comments
 (0)