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

Fix shard snapshot operations for s3 #5227

Merged
merged 4 commits into from
Oct 14, 2024
Merged

Fix shard snapshot operations for s3 #5227

merged 4 commits into from
Oct 14, 2024

Conversation

xzfc
Copy link
Contributor

@xzfc xzfc commented Oct 14, 2024

It turned out that some shard snapshot operations (implemented in #4150) are buggy:

It seems these bugs went unnoticed because the test shard-snapshot-api.sh is also buggy: it enables s3 in the config file, but it doesn't restart qdrant after that. As a result, this integration test doesn't test s3 scenario, but rather tests the local scenario twice.

This PR fixes shard snapshot operations for s3, and fixes the test.

@xzfc xzfc marked this pull request as ready for review October 14, 2024 10:16
@xzfc xzfc requested review from generall and timvisee October 14, 2024 10:45
@xzfc xzfc merged commit 54e6afe into dev Oct 14, 2024
17 checks passed
@xzfc xzfc deleted the fix-s3-shard-snapshots branch October 14, 2024 22:35
timvisee pushed a commit that referenced this pull request Nov 8, 2024
* Fix shard snapshot operations for s3

* tests/shard-snapshot-api.sh: Improve error reporting

* Drop SnapshotStorageManager::get_shard_snapshot_path

* Fix s3 test on CI
@timvisee timvisee mentioned this pull request Nov 8, 2024
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