Commit df87d87
committed
fix(migration): propagate redis_url through batch executor
BatchMigrationExecutor.apply/resume accepted num_workers but only
forwarded redis_client into the single-index executor. The multi-worker
quantization path in MigrationExecutor.apply requires redis_url so each
worker can open its own connection, and raises ValueError when it is
None. As a result rvl migrate batch-apply --workers >1 against a
quantizing index would fail before doing any work.
Thread redis_url through _migrate_single_index and into
self._single_executor.apply so the batch path now matches the
single-index contract.1 parent f99c2f4 commit df87d87
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
| |||
226 | 227 | | |
227 | 228 | | |
228 | 229 | | |
| 230 | + | |
229 | 231 | | |
230 | 232 | | |
231 | 233 | | |
| |||
242 | 244 | | |
243 | 245 | | |
244 | 246 | | |
| 247 | + | |
245 | 248 | | |
246 | 249 | | |
247 | 250 | | |
| |||
0 commit comments