1
0
mirror of https://github.com/pgvector/pgvector.git synced 2026-10-23 10:48:54 +03:00

Switched to READ_STREAM_FULL and read_stream_pause [skip ci]

This commit is contained in:
Andrew Kane
2026-09-25 17:45:28 -07:00
parent 90aaf2102b
commit c43fc9dedf

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;