Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5.0
Description
The following sequence of steps will produce extra bytes, that should not be visible, because they are not in the snapshot.
- Create a file of size L, where L % blockSize != 0.
- Create a snapshot
- Append bytes to the file
- Read file in the snapshot (not the current file)
- You will see the bytes are read beoynd the original file size L
Attachments
Attachments
Issue Links
- is related to
-
HDFS-10825 Snapshot read can reveal future bytes if snapshotted while writing
- Resolved
- is required by
-
HDFS-7056 Snapshot support for truncate
- Closed
- relates to
-
HDFS-5343 When cat command is issued on snapshot files getting unexpected result
- Closed