quickstart icon indicating copy to clipboard operation
quickstart copied to clipboard

Data Requested Is Before Recorded History

Open mvanmeerbeck opened this issue 10 months ago • 4 comments

Hello!

What problem does your feature solve?

Having a complete history in order to avoid this error on horizon:

GET /ledgers/1
{
  "type": "https://stellar.org/horizon-errors/before_history",
  "title": "Data Requested Is Before Recorded History",
  "status": 410,
  "detail": "This horizon instance is configured to only track a portion of the stellar network's latest history. This request is asking for results prior to the recorded history known to this horizon instance."
}

When you boot the image, it only works starting from the ledger 8.

What would you like to see?

I would like to be able to configure the quickstart image so that i can decide if i want the whole history or not. I've tried many things around CATCHUP_COMPLETE but i could not make it work

What alternatives are there?

I could not figure any other option

Thank you!

mvanmeerbeck avatar Feb 28 '25 14:02 mvanmeerbeck

Here some progress. After starting the stellar/quickstart container:

  • I enter the container
docker-compose exec -it stellar /bin/bash
  • stop horizon through supervisorctl
supervisorctl
stop horizon
  • reingest from ledger 1 to 8
/usr/bin/stellar-horizon db reingest range 1 8
  • start horizon
supervisorctl
start horizon

With this, I could reingest from ledger 2 to 8. Ledger 1 refuses to be ingested. Is this normal behaviour ?

Ledger 1 is pregenerated and not available, starting from ledger 2.  pid=2558 service=ingest

mvanmeerbeck avatar Mar 03 '25 16:03 mvanmeerbeck

That's normal. Ledger 1 is the genesis ledger.

leighmcculloch avatar Mar 11 '25 23:03 leighmcculloch

This issue is stale because it has been open for 30 days with no activity. It will be closed in 30 days unless the stale label is removed.

github-actions[bot] avatar Jun 10 '25 18:06 github-actions[bot]

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Oct 02 '25 18:10 github-actions[bot]