-
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 cannot ignore broken symlink #49423
Labels
affects-6.5
affects-7.1
affects-7.5
component/lightning
This issue is related to Lightning of TiDB.
found/gs
found by gs
severity/major
type/bug
The issue is confirmed as a bug.
Comments
kennytm
added
type/bug
The issue is confirmed as a bug.
component/lightning
This issue is related to Lightning of TiDB.
affects-6.5
affects-7.5
found/gs
found by gs
labels
Dec 13, 2023
The issue is caused by trying to obtain the "real size" of a symlink. The error is thrown from line 133. Lines 128 to 136 in 49d1b66
The fix should also consider the following scenarios:
There should still be no errors in scenario 1 as the file So IMO the proper fix is
|
ti-chi-bot
bot
added
may-affects-5.4
This bug maybe affects 5.4.x versions.
may-affects-6.1
may-affects-7.1
labels
Dec 13, 2023
jebter
added
affects-7.1
and removed
may-affects-5.4
This bug maybe affects 5.4.x versions.
may-affects-6.1
may-affects-7.1
labels
Dec 13, 2023
13 tasks
This was referenced Feb 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-6.5
affects-7.1
affects-7.5
component/lightning
This issue is related to Lightning of TiDB.
found/gs
found by gs
severity/major
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
(nothing should be imported because the directory is effectively empty, the file name of the broken symlink does not match the pattern
db.tbl.123.csv
for instance)3. What did you see instead (Required)
4. What is your TiDB version? (Required)
Also affects v6.5.4.
The text was updated successfully, but these errors were encountered: