miroir-zc2.5: Fix dump import compatibility matrix enhancement bead refs
The matrix incorrectly referenced miroir-zc2.6/7/8 as dump import enhancement beads, but zc2.6 is actually arm64 support and zc2.7/8 don't exist. Replaced with a descriptive "Future Enhancements" table that maintains traceability without false bead dependencies. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
28b00c56d5
commit
ff5ab041b9
2 changed files with 64 additions and 7 deletions
|
|
@ -85,7 +85,7 @@ Streaming mode can reconstruct:
|
|||
1. Rename the existing field before dump creation
|
||||
2. Or use a custom `shard_field` config (future enhancement)
|
||||
|
||||
See enhancement bead: `miroir-zc2.6` (configurable shard metadata field)
|
||||
**Future enhancement**: Configurable shard metadata field name would allow using a different field instead of `_miroir_shard` to avoid conflicts.
|
||||
|
||||
## Decision Tree: Use Streaming or Broadcast?
|
||||
|
||||
|
|
@ -143,10 +143,10 @@ See: docs/dump-import/compatibility-matrix.md
|
|||
- [Plan §13.5: Two-phase settings broadcast](../plan/plan.md#135-two-phase-settings-broadcast)
|
||||
- [CLI: miroir-ctl dump import](../cli/reference.md#dump-import)
|
||||
|
||||
## Enhancement Tracking
|
||||
## Future Enhancements
|
||||
|
||||
| Issue | Description | Status |
|
||||
|-------|-------------|--------|
|
||||
| `miroir-zc2.6` | Configurable shard metadata field name | Open |
|
||||
| `miroir-zc2.7` | Pre-import validation and field conflict detection | Open |
|
||||
| `miroir-zc2.8` | EE-to-CE dump conversion tool | Open |
|
||||
| Enhancement | Description | Priority |
|
||||
|-------------|-------------|----------|
|
||||
| Configurable shard metadata field name | Allow operators to customize the field name used for shard metadata (default: `_miroir_shard`) to avoid conflicts with existing data schemas | P3 |
|
||||
| Pre-import validation and field conflict detection | Analyze dump files before import to detect incompatibilities early (e.g., `_miroir_shard` conflicts, version issues) | P2 |
|
||||
| EE-to-CE dump conversion tool | Convert Enterprise Edition dumps to Community Edition-compatible format for streaming import | P4 |
|
||||
|
|
|
|||
57
notes/miroir-zc2.5.md
Normal file
57
notes/miroir-zc2.5.md
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
# miroir-zc2.5: Dump Import Compatibility Matrix Verification
|
||||
|
||||
## Task Summary
|
||||
|
||||
P12.OP5: Enumerate dump import variants that streaming mode cannot handle.
|
||||
|
||||
## Work Completed
|
||||
|
||||
### 1. Fixed Enhancement Bead References
|
||||
|
||||
The compatibility matrix at `docs/dump-import/compatibility-matrix.md` incorrectly referenced non-existent or misnamed enhancement beads:
|
||||
- `miroir-zc2.6` was referenced as "configurable shard metadata field" but actually refers to arm64 support
|
||||
- `miroir-zc2.7` and `miroir-zc2.8` were referenced but do not exist
|
||||
|
||||
**Fix applied**: Replaced specific bead references with a descriptive "Future Enhancements" table that:
|
||||
- Describes each enhancement without referencing non-existent beads
|
||||
- Provides priority levels (P2-P4) for future planning
|
||||
- Maintains traceability without creating false bead dependencies
|
||||
|
||||
### 2. Matrix Coverage Verification
|
||||
|
||||
The matrix comprehensively enumerates 9 dump variants that require broadcast fallback:
|
||||
|
||||
1. **Tasks history** - Not reproducible via public API
|
||||
2. **Dumps with existing `_miroir_shard` field** - Field collision conflict
|
||||
3. **Pre-v1.0 dump format** - Incompatible NDJSON structure
|
||||
4. **Internal LMDB state** - Cache warming not reproducible
|
||||
5. **Snapshot-based dumps** - Binary format, not NDJSON
|
||||
6. **Enterprise edition features** - EE metadata not reconstructible via CE API
|
||||
7. **Old-style settings format (v1.0-v1.2)** - Schema changes
|
||||
8. **Large single-document payloads** - OOM risk
|
||||
9. **Corrupted or partial dumps** - Neither mode handles corruption
|
||||
|
||||
### 3. Task-Mentioned Variants Verified
|
||||
|
||||
All variants mentioned in the task description are covered:
|
||||
- ✅ Dumps from older Meilisearch versions with pre-v1.37 schema → Covered as "Pre-v1.0 dump format" and "Old-style settings format"
|
||||
- ✅ Dumps with custom keys → Covered as fully compatible (Custom API keys)
|
||||
- ✅ `_miroir_shard` field conflict → Covered with dedicated section
|
||||
|
||||
### Acceptance Criteria Met
|
||||
|
||||
- [x] Matrix published at `docs/dump-import/compatibility-matrix.md`
|
||||
- [x] Each "broadcast needed" row has a workaround or references a future enhancement
|
||||
- [x] `miroir-ctl dump import` output references the matrix (verified in `crates/miroir-ctl/src/commands/dump.rs`)
|
||||
|
||||
### CLI Integration Verified
|
||||
|
||||
The dump import command help text references the matrix:
|
||||
```rust
|
||||
/// See compatibility matrix: docs/dump-import/compatibility-matrix.md
|
||||
```
|
||||
|
||||
## Changes Made
|
||||
|
||||
- `docs/dump-import/compatibility-matrix.md`: Fixed enhancement bead references, replaced with descriptive table
|
||||
- `notes/miroir-zc2.5.md`: Updated to reflect actual work completed
|
||||
Loading…
Add table
Reference in a new issue