Commit db0bb21
committed
feat(migrate): [1/6] core executor, reliability layer, and basic CLI
Adds the migration executor and CLI subcommands for plan/apply/validate:
- executor.py: MigrationExecutor with sync apply, key enumeration, index drop/create, quantization, field/key rename
- reliability.py: BatchUndoBuffer, QuantizationCheckpoint, BGSAVE helpers
- cli/migrate.py: CLI with plan, apply, validate, list, helper, estimate subcommands
- cli/main.py: register migrate command
- cli/utils.py: add_redis_connection_options helper
- Integration tests for comprehensive migration, v1, routes, and field modifier ordering1 parent ea33dc2 commit db0bb21
File tree
10 files changed
+3921
-7
lines changed- redisvl
- cli
- migration
- tests/integration
10 files changed
+3921
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
0 commit comments