Skip to content

HNSW Index: DDL Test#28

Open
villagedeb wants to merge 1 commit into
mainfrom
deb/index/1
Open

HNSW Index: DDL Test#28
villagedeb wants to merge 1 commit into
mainfrom
deb/index/1

Conversation

@villagedeb

Copy link
Copy Markdown
Member

Also adds a sanity check for the number of root pages.

Also adds a sanity check for the number of root pages.
@villagedeb villagedeb self-assigned this Jul 13, 2026
villagedeb added a commit to villagesql/villagesql-server that referenced this pull request Jul 17, 2026
1. Skip Custom_index::load() during the index creation path.

2. Restore the storage reference in the custom column and custom index
storage contexts. Although the storage reference is normally needed only
during loading, the InnoDB index creation path reads it from the storage
context and persists it in the data dictionary. For previously loaded
custom columns and indexes, the storage context no longer contains this
value, causing the data dictionary entry to be overwritten with 0. As a
result, the storage reference is lost after restart.

Part of #386

Tested by  villagesql/vsql-vector#28
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.

2 participants