Skip to content

Commit

Permalink
Merge branch 'master' into inner-2218
Browse files Browse the repository at this point in the history
  • Loading branch information
wenyh1 authored Jun 28, 2023
2 parents e45711c + da4593e commit 1c9b6dd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package com.actiontech.dble.btrace.provider;

public final class SlowLogProvider {
private SlowLogProvider() {
}

public static void setShardingNodes() {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import com.actiontech.dble.backend.mysql.nio.handler.query.DMLResponseHandler;
import com.actiontech.dble.backend.mysql.nio.handler.query.impl.BaseSelectHandler;
import com.actiontech.dble.backend.mysql.nio.handler.query.impl.OutputHandler;
import com.actiontech.dble.btrace.provider.SlowLogProvider;
import com.actiontech.dble.plan.util.ComplexQueryPlanUtil;
import com.actiontech.dble.plan.util.ReferenceHandlerInfo;
import com.actiontech.dble.route.RouteResultsetNode;
Expand Down Expand Up @@ -127,6 +128,7 @@ public void setShardingNodes(RouteResultsetNode[] shardingNodes) {
System.arraycopy(this.shardingNodes, 0, tempShardingNodes, 0, this.shardingNodes.length);
System.arraycopy(shardingNodes, 0, tempShardingNodes, this.shardingNodes.length, shardingNodes.length);
this.shardingNodes = tempShardingNodes;
SlowLogProvider.setShardingNodes();
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("append to existing shardingNodes,current size is " + this.shardingNodes.length);
}
Expand Down

0 comments on commit 1c9b6dd

Please sign in to comment.