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

Slow log query's parse concurrency is not stable #54522

Open
yibin87 opened this issue Jul 9, 2024 · 1 comment
Open

Slow log query's parse concurrency is not stable #54522

yibin87 opened this issue Jul 9, 2024 · 1 comment
Assignees

Comments

@yibin87
Copy link
Contributor

yibin87 commented Jul 9, 2024

Enhancement

There are two types of concurency for parsing slow query log, decided by whether Desc attribute is true:

if !e.extractor.Desc {
logs, err = e.getBatchLog(ctx, reader, &offset, logNum)
} else {
logs, err = e.getBatchLogForReversedScan(ctx, reader, &offset, logNum)
}

@yibin87
Copy link
Contributor Author

yibin87 commented Jul 9, 2024

/assign @yibin87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant