On the master branch, the fallback variant of AllocateFileRange
, introduced in #1677, overwrites the file’s content. This causes issues on some systems during some “reindex” scenarios. Additionally, the recently introduced feature_reindex_init.py
test is also broken on these systems.
The affected systems include: OpenBSD, NetBSD, OmniOS, OpenIndiana.
This PR avoids such overwriting.
Fixes #33128 and feature_reindex_init.py
test on affected systems.