Skip to content

Conversation

@ashvardanian
Copy link
Contributor

No description provided.

yoonseok-kim and others added 3 commits November 30, 2025 09:23
`index_gt::update` uses conditional `lock(node_try_conditional_lock_)` instead
of the hard `lock(node_lock_)` that `index_gt::add` use. When `candidate_slot == updated_slot`,
the function deliberately skips `atomic_set`, but it still returns a `node_conditional_lock_t`
whose destructor unconditionally calls `atomic_reset`.

Closes #680

Co-authored-by: YoungHwi <[email protected]>
Co-authored-by: YoungHwi <[email protected]>
Co-authored-by: Yoonseok Kim <[email protected]>
Relates to #678

Co-authored-by: Yoonseok Kim <[email protected]>
@ashvardanian ashvardanian merged commit c604a90 into main Nov 30, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants