Commit e62dabe
fix: harden qdrant restore script and align restore .env example
Follow-up to feat/auto-fetch-collections-from-s3 with three small fixes
surfaced during review.
- track_collection: skip the read loop when the jq result is empty. Bash
here-strings always append a newline, so `done <<< ""` would otherwise
iterate once with an empty item and write a bogus `host,` line to
$QDRANT_COLLECTIONS_FILE. Affects `get_coll` against an empty source.
- generate_snapshot_file_from_s3: fix word order in the non-error exit
message so the filename lands in the correct position.
- UPGRADE-OPERATIONS.md restore example: set QDRANT_SOURCE_HOSTS="" to
match the new restore-from-S3-only contract used by the k8s manifests;
move the port-forward note to QDRANT_RESTORE_HOSTS where it belongs.
- Sync configmap-script.yaml via config_map_updater.sh.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 4f6a4be commit e62dabe
3 files changed
Lines changed: 19 additions & 5 deletions
File tree
- qdrant-backup-restore
- k8s
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
737 | 737 | | |
738 | 738 | | |
739 | 739 | | |
740 | | - | |
741 | | - | |
742 | | - | |
| 740 | + | |
| 741 | + | |
743 | 742 | | |
744 | 743 | | |
| 744 | + | |
745 | 745 | | |
746 | 746 | | |
747 | 747 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
115 | 122 | | |
116 | 123 | | |
117 | 124 | | |
| |||
403 | 410 | | |
404 | 411 | | |
405 | 412 | | |
406 | | - | |
| 413 | + | |
407 | 414 | | |
408 | 415 | | |
409 | 416 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
106 | 113 | | |
107 | 114 | | |
108 | 115 | | |
| |||
394 | 401 | | |
395 | 402 | | |
396 | 403 | | |
397 | | - | |
| 404 | + | |
398 | 405 | | |
399 | 406 | | |
400 | 407 | | |
| |||
0 commit comments