Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Fix DROP_VECTOR_INDEX persistence bug preventing property updates#6041

Open
br41nlet wants to merge 1 commit intokuzudb:masterfrom
br41nlet:fix-drop-vector-index-persistence
Open

Fix DROP_VECTOR_INDEX persistence bug preventing property updates#6041
br41nlet wants to merge 1 commit intokuzudb:masterfrom
br41nlet:fix-drop-vector-index-persistence

Conversation

@br41nlet
Copy link
Copy Markdown

Description

When dropping a vector index via DROP_VECTOR_INDEX, the index was correctly removed from the catalog but NodeTable::dropIndex() was missing hasChanges = true. This caused the table's serialized index list to not be updated during checkpoint, leading to the dropped index persisting across database restarts.

This prevented property updates on previously-indexed columns with the error "Cannot set property ... because it is used in one or more indexes", even though SHOW_INDEXES() showed no indexes remaining.

Fixes #6040

Contributor agreement

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: DROP_VECTOR_INDEX leaves corrupted metadata preventing property updates

1 participant