-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
lightning: risk of OOM #40400
Labels
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.5
This bug affects the 6.5.x(LTS) versions.
component/lightning
This issue is related to Lightning of TiDB.
severity/moderate
type/bug
The issue is confirmed as a bug.
Comments
/component lightning |
ti-chi-bot
added
component/lightning
This issue is related to Lightning of TiDB.
type/bug
The issue is confirmed as a bug.
severity/moderate
labels
Jan 9, 2023
root cause: tidb/br/pkg/lightning/mydump/csv_parser.go Lines 338 to 355 in f7c87c8
the parser would try to read the block continually until it finds the quotes. But if the data files have syntax error (i.e., unterminated quotes), it won't stop. |
relevant: #39980 |
This was referenced Jan 9, 2023
12 tasks
ti-chi-bot
added
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.1
This bug affects the 6.1.x(LTS) versions.
labels
Jun 12, 2023
12 tasks
16 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.5
This bug affects the 6.5.x(LTS) versions.
component/lightning
This issue is related to Lightning of TiDB.
severity/moderate
type/bug
The issue is confirmed as a bug.
reproduce
result
If user wants to import a big file with unclosed quote, lightning might possibly be OOM.
The text was updated successfully, but these errors were encountered: