Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [Unreleased]

### Fixed
- Add `wait(true)` to Qdrant upsert and delete operations for read-after-write consistency, fixing flaky `ingested_chunks_have_correct_payload` integration test (#567)

## [0.11.1] - 2026-02-19

### Added
Expand Down
8 changes: 6 additions & 2 deletions crates/zeph-memory/src/qdrant_ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl QdrantOps {
/// Returns an error if the upsert fails.
pub async fn upsert(&self, collection: &str, points: Vec<PointStruct>) -> QdrantResult<()> {
self.client
.upsert_points(UpsertPointsBuilder::new(collection, points))
.upsert_points(UpsertPointsBuilder::new(collection, points).wait(true))
.await
.map_err(Box::new)?;
Ok(())
Expand Down Expand Up @@ -134,7 +134,11 @@ impl QdrantOps {
return Ok(());
}
self.client
.delete_points(DeletePointsBuilder::new(collection).points(PointsIdsList { ids }))
.delete_points(
DeletePointsBuilder::new(collection)
.points(PointsIdsList { ids })
.wait(true),
)
.await
.map_err(Box::new)?;
Ok(())
Expand Down
Loading