argia-migrator - v0.3.0
    Preparing search index...

    Function checkVectorStore

    • Runs the VectorStore version contract against a real store and throws nonconformant_store listing every check that failed. An error the store itself throws is rethrown unchanged.

      check what it writes expects
      stale-write v2, then v1 v2 kept
      equal-version v1, then v1 with other metadata the second kept
      delete v1, then delete v2 gone from queries
      write-after-delete v1, delete v3, then v2 still gone
      write-at-delete v1, delete v3, then v3 back, v3 kept
      concurrent-writes v20 down to v1, all at once v20 kept
      concurrent-delete v1, then delete v3 and write v2 at once gone
      delete-missing delete of an id never written no error
      versions (only if the store has versions) asks for the each id's stored
      ids above, plus one never written, in one call state, in order

      Every point shares one vector and queries ask for 10 hits, so a store holding other rows with that exact vector can push the test rows out.

      Type Parameters

      • M
      • F = unknown

      Parameters

      Returns Promise<void>