MergeSortReader will lose some data if the size of the dataset is bigger than the on disk page size, but not a multiple

Description

Basically the last partial page of data stays in memory and does not participate to the merge/sort. Surprised it did not came out before, has been around for many years now...

Environment

None

Status

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Components

Fix versions

Priority

Medium
Configure