Skip to content

address parallel flushing problem in snapshot creation#7404

Merged
generall merged 2 commits intodevfrom
snapshot-flush-all
Oct 14, 2025
Merged

address parallel flushing problem in snapshot creation#7404
generall merged 2 commits intodevfrom
snapshot-flush-all

Conversation

@generall
Copy link
Member

We don't really like to have a possibility of segment flush happaning in parallel.

Previously, we had a limitation per-segment, but now it is per shard.

This PR makes according changes to the snapshot-triggered flushes, so they are also per-shard and mutually exclusive.

@generall generall requested a review from timvisee October 14, 2025 15:20
Copy link
Member

@timvisee timvisee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 🙏

We believe this is fine for snapshots (and snapshot transfer) because the following actions are strictly ordered:

  1. queue proxy is created
  2. segments are explicitly flushed

@generall generall merged commit 8b2d73a into dev Oct 14, 2025
15 checks passed
@generall generall deleted the snapshot-flush-all branch October 14, 2025 16:28
@qdrant qdrant deleted a comment from coderabbitai bot Oct 15, 2025
timvisee pushed a commit that referenced this pull request Nov 14, 2025
* address parallel flushing problem in snapshot creation

* explicit flush in test
@timvisee timvisee mentioned this pull request Nov 14, 2025
@coderabbitai coderabbitai bot mentioned this pull request Jan 14, 2026
9 tasks
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