Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the latest_referenced_ledger column during ingestion #4867

Closed
tamirms opened this issue May 4, 2023 · 1 comment
Closed

Update the latest_referenced_ledger column during ingestion #4867

tamirms opened this issue May 4, 2023 · 1 comment
Labels

Comments

@tamirms
Copy link
Contributor

tamirms commented May 4, 2023

Whenever we call CreateAccounts , CreateHistoryClaimableBalances , CreateAssets, and CreateHistoryLiquidityPools functions we should update the latest_referenced_ledger column during ingestion. It is safe to overwrite the column when we're ingesting the latest ledger. However, if we are ingesting history we should be careful to not overwrite the column.

For more context, see: Improving Reap Performance of History Lookup Tables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

1 participant