Skip to content

Initialize Hints and History states in schemas #24647

@derektriley

Description

@derektriley

Background

Introduce initialization of hints and history states in their respective schemas.

Why this is needed:

Some singleton defaults are only initialized in doGenesisSetup(...), which is not executed on restart/upgrade.
In a v0.71.2-origin deployment, History/TSS states may be absent/uninitialized when feature flags are enabled later during upgrade.
This can cause restart-time failures (e.g., History service assuming initialized state in schema restart logic).
Scope of this work:

Acceptance Criteria

See above

Dependencies

No response

Definition of Ready (DoR) Checklist

  • Clear acceptance criteria
  • Clear and detailed description
  • Dependencies identified
  • Links to documentation
  • Should be completable in 2-3 Days
  • Initial draft of Low-level design document
  • At least high level test plan
  • Groomed/Estimated

Definition of Done (DoD) Checklist

  • Acceptance Criteria complete
  • No Codacy issues greater than minor (in new code)
  • JavaDocs updated/created
  • Code commented
  • Unit tests created/updated
  • 80% test code coverage (in new code)
  • Happy Path and major negative cases in HAPI tests as applicable

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions