Unnecessary partial caching from positioned read

Description

When partial caching is turned on, FileInStream incorrectly caches the entire block on positioned read, even if the block is already cached in the local worker. This affects the APIs that perform positioned read, including read with offset, readFully with offset, and seek.

The workaround is to turn off partial caching by setting alluxio.user.file.cache.partially.read.block to false.

Environment

None

Status

Assignee

Yupeng Fu

Reporter

Yupeng Fu

Labels

Components

Affects versions

1.5.0

Priority

Critical
Configure