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

plan replayer cannot handle a standard zip file contains directories. #46474

Closed
YangKeao opened this issue Aug 29, 2023 · 0 comments · Fixed by #47474
Closed

plan replayer cannot handle a standard zip file contains directories. #46474

YangKeao opened this issue Aug 29, 2023 · 0 comments · Fixed by #47474
Assignees
Labels

Comments

@YangKeao
Copy link
Member

A normal zip archive stores both files and directories as entries. For example, a zip contains only a file schema/some.sql will also contain "schema/", which is a directory entry.

So if someone decompressed the zip provided replayer and compress it again, TiDB will not be able to read it. (But luckily, most zip readers are able to read the zip provided by TiDB. They are good at handling corner cases 🤦 ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants