elasticsearch/x-pack/plugin/blob-cache
Andrei Dan 2375e89a5f
Make writerWithOffset fully delegate to the writer it wraps (#126937)
writerWithOffset uses a lambda to create a RangeMissingHandler however,
the RangeMissingHandler interface has a default implementation for `sharedInputStreamFactory`.

This makes `writerWithOffset` delegate to the received writer only for the `fillCacheRange`
method where the writer itself perhaps didn't have the `sharedInputStream` method invoked
(always invoking `sharedInputStream` before `fillCacheRange` is part of the contract of the
RangeMissingHandler interface)

This PR makes `writerWithOffset` delegate the `sharedInputStream` to the underlying writer.
2025-05-29 15:58:16 +01:00
..
src Make writerWithOffset fully delegate to the writer it wraps (#126937) 2025-05-29 15:58:16 +01:00
build.gradle Update Gradle wrapper to 8.12 (#118683) 2024-12-30 15:34:24 +01:00