Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Persist single item #17

Merged
merged 3 commits into from
Jul 3, 2024
Merged

[BUG] Persist single item #17

merged 3 commits into from
Jul 3, 2024

Conversation

HammadB
Copy link

@HammadB HammadB commented Jul 3, 2024

We should allow persisting a single item.

I need to

  • Add robust testing around this
  • Read the code more closely to make sure this is OK

@HammadB HammadB merged commit 408c5d1 into master Jul 3, 2024
10 checks passed
HammadB added a commit to chroma-core/chroma that referenced this pull request Jul 4, 2024
## Description of changes

*Summarize the changes made by this PR.*
 - Improvements & Bug fixes
- Before chroma-core/hnswlib#17 - hnswlib did
not support persisting a single record, this test exercises that case.
This is possible since you can bypass min_compaction_size by adding and
deleting many of the same records.
 - New functionality
	 - None

## Test plan
*How are these changes tested?*
- [x] Tests pass locally with `pytest` for python, `yarn test` for js,
`cargo test` for rust

## Documentation Changes
None
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