This hidden page records compatibility questions raised by the Ledger 3.0 source snapshot. It is not a production support matrix. Compatibility applies to the complete deployment: Stack manifest, Operator, Ledger image, clients, persisted state, and recovery artifacts.
Compatibility boundaries#
| Boundary | Rule |
|---|---|
| Stack and Operator | Wait for the final Stack v4 component manifest and matching released Operator CRDs |
| HTTP clients | Do not generate from the current preview OpenAPI; wait for a parsing, version-consistent, release-pinned contract |
| gRPC clients | Wait for a released descriptor set and a tested public-service boundary |
ledgerctl | Use only a released CLI and server pair listed as compatible |
| Persisted cluster state | Follow the procedure for the exact source and target releases; never infer a generic rolling path |
| Public protobuf messages | Treat removed fields and changed log-payload field semantics as compatibility changes that require generated-client and mixed-version tests |
| Backup and restore | Test the exact source and destination release pair before relying on it |
| Migration | Treat Ledger v2 and Ledger 3.0 as different API and storage contracts |
The current snapshot contains persisted-state changes that break compatibility with existing data. Its documented preparation requires a full data wipe and replay from a trusted source; mixed-binary rolling upgrades are unsupported. The final release must state the rule for every supported transition before users can upgrade.
System limits#
These are the limits the snapshot enforces, so they are the ones a client meets:
| Limit | Value | What happens at the boundary |
|---|---|---|
| Request body | 4 MB | 413 with errorCode: BODY_TOO_LARGE |
| Elements per bulk request | 1000 | 413 with errorCode: BULK_SIZE_EXCEEDED |
| Page size for a list query | 1000 maximum, 100 when unspecified | The server clamps the requested value |
ledgerctl page size | 10 when unspecified | Set --page-size explicitly for scripted output |
| Idempotency key | 256 bytes | 400 with errorCode: VALIDATION |
Identifier widths are far from binding by comparison: uint32 for ledgers in a cluster, and uint64 for transactions in a ledger, logs in a ledger, and the global sequence. Practical capacity arrives first through disk, memory, network replication, consensus latency, query indexes, backup duration, and operational recovery time.
Use the preview limitations as a type-level source map only. Establish supported production limits with representative load, failover, backup, and restore tests against final artifacts.
Feature compatibility#
Ledger 3.0 preserves the core accounting workflows while changing several contracts. In particular:
- business routes use
/v3; - clients must not send Ledger v2 request or response shapes;
- idempotency keys use a cluster-wide namespace;
- user-managed indexes determine which query paths are available and ready;
- several administrative capabilities are exposed through gRPC and
ledgerctl, not equivalent HTTP routes; - Mirror mode imports a Ledger v2 history but does not make a Ledger v2 client compatible with the target.
See Update Ledger Clients for the migration checklist and the preview feature matrix for the implementation snapshot.
The release/v3.0 branch is an unvalidated preview, not a release identity. Recheck the OpenAPI contract, protobuf descriptor, CLI artifact, Stack manifest, Operator CRDs, feature matrix, persisted-state rules, and backup compatibility against one final source revision before publishing a support matrix.
Gates for publication#
Keep this page hidden until the matrix records and tests:
- the final Stack, Operator, Ledger server, CLI, HTTP, and gRPC artifact versions and source revisions;
- every supported persisted-state source-to-target transition, including full wipe and trusted replay where required;
- every supported backup-and-restore source and destination pair, with a completed restore rehearsal;
- Ledger v2-to-v3 migration behavior for Mirror activation, transformations, client cutover, validation, and promotion;
- representative capacity, failover, integrity, and recovery tests, plus the rollback boundary for each change class.
- protobuf field-number/name reservations and mixed-client decoding for every changed public message.
The release-specific operational procedure belongs in Upgrade Ledger, not in a generic compatibility claim.