Skip to content

Comments

fix(memory): add wait(true) to Qdrant upsert and delete operations#611

Merged
bug-ops merged 2 commits intomainfrom
fix/567-flaky-ingested-chunks-test
Feb 19, 2026
Merged

fix(memory): add wait(true) to Qdrant upsert and delete operations#611
bug-ops merged 2 commits intomainfrom
fix/567-flaky-ingested-chunks-test

Conversation

@bug-ops
Copy link
Owner

@bug-ops bug-ops commented Feb 19, 2026

Summary

  • Add .wait(true) to UpsertPointsBuilder and DeletePointsBuilder in QdrantOps to ensure read-after-write consistency
  • Qdrant operations are async by default, returning before points are indexed — this caused the flaky ingested_chunks_have_correct_payload integration test

Test plan

  • cargo clippy --workspace -- -D warnings passes
  • cargo +nightly fmt --check passes
  • cargo nextest run --workspace --lib --bins — 2011 passed, 0 failed
  • CI integration tests with Qdrant testcontainer

Closes #567

@github-actions github-actions bot added bug Something isn't working size/XS memory Persistence and memory rust documentation Improvements or additions to documentation size/S and removed bug Something isn't working size/XS labels Feb 19, 2026
Qdrant upsert/delete are async by default, returning before points are
indexed. This caused flaky integration tests where scroll queries
executed before inserted points became visible.

Add .wait(true) to UpsertPointsBuilder and DeletePointsBuilder to
ensure read-after-write consistency.

Closes #567
@bug-ops bug-ops force-pushed the fix/567-flaky-ingested-chunks-test branch from 801a777 to 02a62a7 Compare February 19, 2026 17:43
@bug-ops bug-ops enabled auto-merge (squash) February 19, 2026 17:43
@bug-ops bug-ops merged commit f6eef74 into main Feb 19, 2026
23 checks passed
@bug-ops bug-ops deleted the fix/567-flaky-ingested-chunks-test branch February 19, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation memory Persistence and memory rust size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix flaky integration test: ingested_chunks_have_correct_payload

1 participant