Unnecessary read when closing a file with partial caching on

Description

With partial caching on, when a block is not fully read, closing the file in stream will read the rest of the block, even when the block is not necessary to cache, such as when the block is already in local worker, or when the block is read from a remote worker but there is no local worker available.

Environment

None

Assignee

Yupeng Fu

Reporter

Yupeng Fu

Labels

Components

Fix versions

Affects versions

Priority

Major
Configure