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

GOLD-131: add beforeStateAccounts insertion behind flag #16

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

S0naliThakur
Copy link
Member

Linear: https://linear.app/shm/issue/GOLD-131/
Summary: add beforeStateAccounts insertion behind flag

@S0naliThakur S0naliThakur requested a review from arhamj June 21, 2024 11:16
Copy link

linear bot commented Jun 21, 2024

GOLD-131 Add flags in archiver to store before states

Motivation

  • Receipts table on the archiver itself is ~65-70% of the total DB.
  • The beforeStateAccounts column stores the past state of all transactions.
  • This column accounts to 10-15% of the total DB overhead.
  • This data was introduced to serve the replay engine.

Changes

This task is to add a flag storeReceiptBeforeStates based on which the data to the DB will be written.

These changes are helpful both on the collector and the archiver.

@S0naliThakur S0naliThakur requested a review from jairajdev June 21, 2024 11:38
@S0naliThakur S0naliThakur marked this pull request as ready for review June 21, 2024 11:38
jairajdev
jairajdev previously approved these changes Jul 16, 2024
@mhanson-github mhanson-github merged commit 9c99aaf into dev Sep 9, 2024
7 of 8 checks passed
@mhanson-github mhanson-github deleted the GOLD-131 branch September 23, 2024 02:15
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.

4 participants