Skip to content

fix(core+tool): epochs_v2 backfill and formal-restore cleanup#11870

Merged
muXxer merged 1 commit into
feat/formal-snapshot-with-epoch-infofrom
feat/iota-core-storeobjectv2-and-epoch-info-2-cleanup
Jun 12, 2026
Merged

fix(core+tool): epochs_v2 backfill and formal-restore cleanup#11870
muXxer merged 1 commit into
feat/formal-snapshot-with-epoch-infofrom
feat/iota-core-storeobjectv2-and-epoch-info-2-cleanup

Conversation

@bingyanglin

@bingyanglin bingyanglin commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Description of change

Some cleanup for #11697

  • Local epoch backfill: only missing data counts as pruned (iota-core, iota-types). Real storage failures were swallowed as "data pruned, retry once a newer snapshot is published". Absent-data errors now carry Kind::Missing (was custom) and only those end the best-effort replay; anything else propagates. Nothing else reads the kind.
  • Operator doc fixes (iota-config, docs). The config doc still described the removed background task (the backfill is synchronous and gates startup); the snapshots guide now documents the refuse-to-start case when even the latest snapshot is older than the node's pruned-away history.

How the change has been tested

  • Basic tests (linting, compilation, formatting, unit/integration tests)
  • Patch-specific tests (correctness, functionality coverage)
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that new and existing unit tests pass locally with my changes

@bingyanglin bingyanglin self-assigned this Jun 12, 2026
@bingyanglin bingyanglin requested review from a team as code owners June 12, 2026 03:14
@bingyanglin bingyanglin added the node Issues related to the Core Node team label Jun 12, 2026
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jun 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

✅ Vercel Preview Deployment is ready!

View Preview

@bingyanglin bingyanglin force-pushed the feat/iota-core-storeobjectv2-and-epoch-info-2-cleanup branch from 3a8c7d6 to de9e0c2 Compare June 12, 2026 05:32
@github-actions

Copy link
Copy Markdown
Contributor

✅ Vercel Preview Deployment is ready!

View Preview

@bingyanglin bingyanglin force-pushed the feat/iota-core-storeobjectv2-and-epoch-info-2-cleanup branch from de9e0c2 to cf9dc09 Compare June 12, 2026 05:46
@github-actions

Copy link
Copy Markdown
Contributor

✅ Vercel Preview Deployment is ready!

View Preview

@muXxer muXxer merged commit 41fcb59 into feat/formal-snapshot-with-epoch-info Jun 12, 2026
39 checks passed
@muXxer muXxer deleted the feat/iota-core-storeobjectv2-and-epoch-info-2-cleanup branch June 12, 2026 09:33
muXxer pushed a commit that referenced this pull request Jun 12, 2026
# Description of change

Some cleanup for #11697 

- **Local epoch backfill: only missing data counts as pruned
(`iota-core`, `iota-types`).** Real storage failures were swallowed as
"data pruned, retry once a newer snapshot is published". Absent-data
errors now carry `Kind::Missing` (was `custom`) and only those end the
best-effort replay; anything else propagates. Nothing else reads the
kind.
- **Operator doc fixes (`iota-config`, `docs`).** The config doc still
described the removed background task (the backfill is synchronous and
gates startup); the snapshots guide now documents the refuse-to-start
case when even the latest snapshot is older than the node's pruned-away
history.

## How the change has been tested

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [ ] Patch-specific tests (correctness, functionality coverage)
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have checked that new and existing unit tests pass locally with
my changes
muXxer pushed a commit that referenced this pull request Jun 15, 2026
# Description of change

Some cleanup for #11697 

- **Local epoch backfill: only missing data counts as pruned
(`iota-core`, `iota-types`).** Real storage failures were swallowed as
"data pruned, retry once a newer snapshot is published". Absent-data
errors now carry `Kind::Missing` (was `custom`) and only those end the
best-effort replay; anything else propagates. Nothing else reads the
kind.
- **Operator doc fixes (`iota-config`, `docs`).** The config doc still
described the removed background task (the backfill is synchronous and
gates startup); the snapshots guide now documents the refuse-to-start
case when even the latest snapshot is older than the node's pruned-away
history.

## How the change has been tested

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [ ] Patch-specific tests (correctness, functionality coverage)
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have checked that new and existing unit tests pass locally with
my changes
muXxer pushed a commit that referenced this pull request Jun 18, 2026
# Description of change

Some cleanup for #11697 

- **Local epoch backfill: only missing data counts as pruned
(`iota-core`, `iota-types`).** Real storage failures were swallowed as
"data pruned, retry once a newer snapshot is published". Absent-data
errors now carry `Kind::Missing` (was `custom`) and only those end the
best-effort replay; anything else propagates. Nothing else reads the
kind.
- **Operator doc fixes (`iota-config`, `docs`).** The config doc still
described the removed background task (the backfill is synchronous and
gates startup); the snapshots guide now documents the refuse-to-start
case when even the latest snapshot is older than the node's pruned-away
history.

## How the change has been tested

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [ ] Patch-specific tests (correctness, functionality coverage)
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have checked that new and existing unit tests pass locally with
my changes
bingyanglin added a commit that referenced this pull request Jun 23, 2026
# Description of change

Some cleanup for #11697 

- **Local epoch backfill: only missing data counts as pruned
(`iota-core`, `iota-types`).** Real storage failures were swallowed as
"data pruned, retry once a newer snapshot is published". Absent-data
errors now carry `Kind::Missing` (was `custom`) and only those end the
best-effort replay; anything else propagates. Nothing else reads the
kind.
- **Operator doc fixes (`iota-config`, `docs`).** The config doc still
described the removed background task (the backfill is synchronous and
gates startup); the snapshots guide now documents the refuse-to-start
case when even the latest snapshot is older than the node's pruned-away
history.

## How the change has been tested

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [ ] Patch-specific tests (correctness, functionality coverage)
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have checked that new and existing unit tests pass locally with
my changes
muXxer pushed a commit that referenced this pull request Jun 24, 2026
# Description of change

Some cleanup for #11697 

- **Local epoch backfill: only missing data counts as pruned
(`iota-core`, `iota-types`).** Real storage failures were swallowed as
"data pruned, retry once a newer snapshot is published". Absent-data
errors now carry `Kind::Missing` (was `custom`) and only those end the
best-effort replay; anything else propagates. Nothing else reads the
kind.
- **Operator doc fixes (`iota-config`, `docs`).** The config doc still
described the removed background task (the backfill is synchronous and
gates startup); the snapshots guide now documents the refuse-to-start
case when even the latest snapshot is older than the node's pruned-away
history.

## How the change has been tested

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [ ] Patch-specific tests (correctness, functionality coverage)
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have checked that new and existing unit tests pass locally with
my changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core-protocol documentation Improvements or additions to documentation node Issues related to the Core Node team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants