Skip to content
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.

Missing milestone with an index of XYZ #1850

Open
kwek20 opened this issue May 5, 2020 · 0 comments
Open

Missing milestone with an index of XYZ #1850

kwek20 opened this issue May 5, 2020 · 0 comments
Labels

Comments

@kwek20
Copy link
Contributor

kwek20 commented May 5, 2020

Bug description

When starting a node from LS files, i receive this error

Version

  • Version: 1.8.5

Steps To reproduce the bug

  1. Download LS files
  2. Set your personal LS settings on a higher depth than those who created the LS files
  3. Observe the node start up

Expected behaviour

Expected a small message or none at all

Actual behaviour

An error gets thrown because we try to make snapshots below our initial snapshot index.

How to solve

Dev side: This can be solved in a PR with a check for below initial MS index.

User side: this can be solved by waiting a bit, until your node has enough milestones to not reach below the LS files,or lower the --local-snapshots-depth parameter to below the used parameters of the snapshot generator

Errors

com.iota.iri.service.snapshot.SnapshotException: missing milestone with an index of 14132 or lower at com.iota.iri.service.snapshot.impl.SnapshotServiceImpl.determineMilestoneForLocalSnapshot(SnapshotServiceImpl.java:418) ~[iri-PR-a15f571-18ef1a50.jar:PR-a15f571-18ef1a50] at com.iota.iri.service.snapshot.impl.SnapshotServiceImpl.takeLocalSnapshot(SnapshotServiceImpl.java:206) ~[iri-PR-a15f571-18ef1a50.jar:PR-a15f571-18ef1a50] at com.iota.iri.service.snapshot.impl.LocalSnapshotManagerImpl.handleSnapshot(LocalSnapshotManagerImpl.java:151) [iri-PR-a15f571-18ef1a50.jar:PR-a15f571-18ef1a50] at com.iota.iri.service.snapshot.impl.LocalSnapshotManagerImpl.monitorThread(LocalSnapshotManagerImpl.java:135) [iri-PR-a15f571-18ef1a50.jar:PR-a15f571-18ef1a50] at com.iota.iri.service.snapshot.impl.LocalSnapshotManagerImpl.lambda$start$0(LocalSnapshotManagerImpl.java:110) [iri-PR-a15f571-18ef1a50.jar:PR-a15f571-18ef1a50] at com.iota.iri.utils.thread.ThreadUtils.lambda$spawnThread$0(ThreadUtils.java:76) ~[iri-PR-a15f571-18ef1a50.jar:PR-a15f571-18ef1a50]

@kwek20 kwek20 added the T-Bug label May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant