plan replayer cannot handle a standard zip file contains directories. #46474
Labels
affects-6.5
affects-7.1
severity/minor
sig/planner
SIG: Planner
type/bug
The issue is confirmed as a bug.
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 🤦 ).
The text was updated successfully, but these errors were encountered: