You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Breaking by observation: a sqlite-vec store that has used the extension no longer turns into an in-memory store when a later connection cannot load it - the operation throws SQLiteVecExtensionLostException. With FallbackToInMemoryOnError = true (the default) a native file removed after the first load (a temporary-file cleanup, an antivirus quarantine, an update that swaps files) made the next connection fail, and the store silently moved to memory for the rest of the process: searches read a store that held none of what was on disk and writes were lost at exit while the caller was told they succeeded. The option keeps its meaning for a platform that never had the extension (the store runs without persistent vectors from its first operation). The exception names the file the extension was loaded from; with the option off the same failure now arrives as the same typed exception (the load error is its InnerException).
Breaking by observation: a sqlite-vec store that is using the extension no longer switches to the in-memory fallback after a failed operation - the operation throws and the store keeps reading and writing the database. Three places flipped the store for the rest of the process: a search that failed for any reason (a locked database, an I/O error, a query vector of the wrong size) answered from the empty in-memory store, a batch whose vector insert and table rebuild both failed was handed to the in-memory store and reported as stored, and a health check whose rebuild failed made every later check report healthy («nothing to verify»). The search now throws the original error (a caller's cancellation is no longer turned into an empty result), StoreBatchAsync throws, and VerifyHealthAsync keeps returning false. Migration: callers that relied on a failed search returning an empty list must handle the exception. FallbackToInMemoryOnError keeps covering a store that never loaded the extension.
Breaking (by observation): a SQLite vector store configured at a new VectorDimension no longer keeps the vec0 table of the old width. The table name carries the embedding fingerprint (provider, model, revision) but not the width, so CREATE ... IF NOT EXISTS kept the old table and every insert, and the start-up health check, failed with sqlite-vec's «Dimension mismatch». An empty table of another width is now recreated at the configured width; a table that holds vectors is left untouched and opening the store throws SQLiteVecDimensionMismatchException (table, both widths, vector count). Migration: catch SQLiteVecDimensionMismatchException where you handled the SqliteException, and drop any start-up step that recreated an empty table of another width.
CustomExtensionPath is honoured by every store of a process. The loader remembered one extension path for the whole process, so a second store naming a different file loaded the first store's file instead.
A remembered extension path whose file has vanished is forgotten, so the next load looks again (another extraction folder, CustomExtensionPath) instead of failing on the same file for the rest of the process, and the failure log names the file that was tried - it named the package-cache location of the default resolver, which an installed app does not have.