+
Skip to content

Conversation

jgreat
Copy link
Contributor

@jgreat jgreat commented May 10, 2024

Motivation

It can take a long time to pull down and populate the consensus lmdb from S3. This adds an option to the container entrypoint scripts to just run ledger-from-archive in a loop and populate the local db without bringing consensus online.

in standalone container: set MC_LEDGER_FROM_ARCHIVE_ONLY to any value
or
in helm: --set node.config.ledgerFromArchiveOnly="true"

  • add MC_LEDGER_FROM_ARCHIVE_ONLY option
  • remove old ledger-distribution zero,next,last logic

Copy link

⚠️ Downstream repo mobilecoinofficial/full-service failed to build. Check actions status for details.

@jgreat jgreat merged commit 98229cc into release/v6.0 May 13, 2024
@jgreat jgreat deleted the jgreat/warm-up-offline-consensus branch May 13, 2024 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载