Preview. Stack v4.0 has not been released, and what is documented here can still change before it does. The current release is v3.2, which does not have this page.Go to Ledger in v3.2
Ledger

Limits and Compatibility

Check release, protocol, storage, and capacity boundaries before changing a Ledger deployment.

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#

BoundaryRule
Stack and OperatorWait for the final Stack v4 component manifest and matching released Operator CRDs
HTTP clientsDo not generate from the current preview OpenAPI; wait for a parsing, version-consistent, release-pinned contract
gRPC clientsWait for a released descriptor set and a tested public-service boundary
ledgerctlUse only a released CLI and server pair listed as compatible
Persisted cluster stateFollow the procedure for the exact source and target releases; never infer a generic rolling path
Public protobuf messagesTreat removed fields and changed log-payload field semantics as compatibility changes that require generated-client and mixed-version tests
Backup and restoreTest the exact source and destination release pair before relying on it
MigrationTreat 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:

LimitValueWhat happens at the boundary
Request body4 MB413 with errorCode: BODY_TOO_LARGE
Elements per bulk request1000413 with errorCode: BULK_SIZE_EXCEEDED
Page size for a list query1000 maximum, 100 when unspecifiedThe server clamps the requested value
ledgerctl page size10 when unspecifiedSet --page-size explicitly for scripted output
Idempotency key256 bytes400 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:

  1. the final Stack, Operator, Ledger server, CLI, HTTP, and gRPC artifact versions and source revisions;
  2. every supported persisted-state source-to-target transition, including full wipe and trusted replay where required;
  3. every supported backup-and-restore source and destination pair, with a completed restore rehearsal;
  4. Ledger v2-to-v3 migration behavior for Mirror activation, transformations, client cutover, validation, and promotion;
  5. representative capacity, failover, integrity, and recovery tests, plus the rollback boundary for each change class.
  6. 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.