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