mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
* filer: always range-fetch a chunk too big for the reader budget A whole chunk view bigger than the reader cache budget only fell back to a range fetch in random mode. A sequential read, or a read across a chunk boundary, took the whole-chunk path and failed with "chunk buffer needs N bytes, exceeding reader cache budget". Prefetch also started such chunks, which took a slot in the cache and then failed. readsRange now decides for both read paths, and a chunk that can't fit the budget is always a range fetch. Prefetch skips it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * filer: test that prefetch skips a chunk over the reader budget Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>