Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[inner-2361&2356] fix: the results of show trace are incomplete #3823

Merged
merged 2 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ public void startHeartbeat() {

public void startDelayDetection() {
for (PhysicalDbInstance dbInstance : allSourceMap.values()) {
if (dbInstance.delayDetection.isStop()) {
if (dbInstance.delayDetection != null && dbInstance.delayDetection.isStop()) {
dbInstance.delayDetection = new DelayDetection(dbInstance);
}
dbInstance.startDelayDetection();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ public void execute(byte[] originPacket) {

write(originPacket, WriteFlags.QUERY_END);
}

public void execute(BusinessService service, String sql) {
execute(service, sql, false);
}
Expand Down Expand Up @@ -419,6 +420,7 @@ protected boolean innerRelease() {
}
complexQuery = false;
attachment = null;
traceRouteKey = null;
statusSync = null;
isDDL = false;
testing = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public static void recoverSingleThread(String threadName) throws Exception {
}
break;
default:
throw new Exception("The recover operation of threadPool[" + threadName + "] is not supported");
throw new Exception("The recover operation of thread[" + threadName + "] is not supported");
}
} else {
throw new Exception("The recover operation of thread[" + threadName + "] is not supported");
Expand Down