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

Byte storage integration into segment #4049

Merged
merged 16 commits into from
Apr 17, 2024
Merged
Prev Previous commit
Next Next commit
fix async test
  • Loading branch information
IvanPleshkov committed Apr 17, 2024
commit 686cf90e4d349c04ccdcee69da81dfebc0dd0a1a
Original file line number Diff line number Diff line change
@@ -74,14 +74,14 @@ pub fn open_memmap_vector_storage_with_async_io(
distance: Distance,
with_async_io: bool,
) -> OperationResult<Arc<AtomicRefCell<VectorStorageEnum>>> {
let storage = open_memmap_vector_storage_with_async_io_impl::<VectorElementTypeByte>(
let storage = open_memmap_vector_storage_with_async_io_impl::<VectorElementType>(
path,
dim,
distance,
with_async_io,
)?;
Ok(Arc::new(AtomicRefCell::new(
VectorStorageEnum::DenseMemmapByte(storage),
VectorStorageEnum::DenseMemmap(storage),
)))
}