mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-14 08:36:54 +08:00
Only use some bits [skip ci]
This commit is contained in:
@@ -529,7 +529,10 @@ MarkDeleted(HnswVacuumState * vacuumstate)
|
|||||||
|
|
||||||
/* Increment version */
|
/* Increment version */
|
||||||
/* This is used to avoid incorrect reads for iterative scans */
|
/* This is used to avoid incorrect reads for iterative scans */
|
||||||
|
/* Only use some bits */
|
||||||
etup->version++;
|
etup->version++;
|
||||||
|
if (etup->version > 15)
|
||||||
|
etup->version = 1;
|
||||||
ntup->version = etup->version;
|
ntup->version = etup->version;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user