In #4123 we switched to allocating the fetcher lazily and restricting
the valueBlockReader lifetime to that of the iterator. However, the
lifetime of the *LazyFetcher stored in the value must outlive the
iterator and it currently lives inside valueBlockReader.
This change fixes the bug by moving the LazyFetcher to
valueBlockFetcher.
In #4123 we switched to allocating the fetcher lazily and restricting the
valueBlockReader
lifetime to that of the iterator. However, the lifetime of the*LazyFetcher
stored in the value must outlive the iterator and it currently lives insidevalueBlockReader
.This change fixes the bug by moving the
LazyFetcher
tovalueBlockFetcher
.Fixes #4131