Switched to READ_STREAM_FULL and read_stream_pause [skip ci]

This commit is contained in:
Andrew Kane committed 2026-09-25 17:45:28 -07:00
1 parent 90aaf2102b
commit c43fc9dedf
1 file changed
+2 -2
+2 -2
View File
@@ -829,7 +829,7 @@ HnswReadStreamNextBlock(ReadStream *stream, void *callback_private_data, void *p
HnswUnvisited *uv;
if (streamData->visited == streamData->unvisitedLength)
return InvalidBlockNumber;
return read_stream_pause(stream);
uv = &streamData->unvisited[streamData->visited++];
*offno = ItemPointerGetOffsetNumber(&uv->indextid);
@@ -862,7 +862,7 @@ HnswSearchLayer(char *base, HnswQuery * q, List *ep, int ef, int lc, Relation in
if (!inMemory)
{
int flags = READ_STREAM_USE_BATCHING;
int flags = READ_STREAM_FULL;
if (maintenance)
flags |= READ_STREAM_MAINTENANCE;