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

Elide tx-meta from transaction data model in db and api. #5189

Closed
sreuland opened this issue Jan 31, 2024 · 3 comments
Closed

Elide tx-meta from transaction data model in db and api. #5189

sreuland opened this issue Jan 31, 2024 · 3 comments
Assignees
Labels
performance issues aimed at improving performance rpc-sdk-scrum

Comments

@sreuland
Copy link
Contributor

sreuland commented Jan 31, 2024

What problem does your feature solve?

What would you like to see?

A new Horizon configuration setting, DISABLE_TXMETA, which defaults to FALSE. When it's TRUE, horizon will no longer store serialized tx-meta xdr in the history database or show it on the transaction API model.

history_transactions table should have serialized base64 for an empty xdr.TransactionMetaV3{} in tx_meta, and for the API resource model emitted for Transaction for this row needs to show the same empty value representation for
result_meta_xdr

revert the recently added DISABLE_SOROBAN_INGEST, as it removed soroban related parsing from tx-meta for effects and asset balances, however, in hindsight those were not necessary and do not incur a performance overhead.

What alternatives are there?

@sreuland sreuland moved this from Backlog to Current Sprint in Platform Scrum Jan 31, 2024
@sreuland sreuland self-assigned this Jan 31, 2024
@sreuland
Copy link
Contributor Author

cc: @mollykarcher

@sreuland
Copy link
Contributor Author

@mollykarcher , do we want to target this for 2.28.3?

@sreuland sreuland moved this from Current Sprint to In Progress in Platform Scrum Feb 14, 2024
sreuland added a commit to sreuland/go that referenced this issue Feb 14, 2024
…meta in transaction model, removed DISABLE_SOROBAN_INGEST, use SKIP_META instead
sreuland added a commit to sreuland/go that referenced this issue Feb 14, 2024
@mollykarcher mollykarcher moved this from In Progress to Needs Review in Platform Scrum Feb 14, 2024
sreuland added a commit to sreuland/go that referenced this issue Feb 14, 2024
sreuland added a commit that referenced this issue Feb 14, 2024
* Revert "services/horizon: Add DISABLE_SOROBAN_INGEST flag to skip soroban ingestion processing (#5176)"

This reverts commit bfaf9e1.

* #5189: added optional SKIP_TXMETA parameter to not persist tx meta in transaction model, removed DISABLE_SOROBAN_INGEST, use SKIP_META instead
@sreuland
Copy link
Contributor Author

#5208 merged to 2.28.3 release branch, closing.

@github-project-automation github-project-automation bot moved this from Needs Review to Done in Platform Scrum Feb 15, 2024
sreuland added a commit to sreuland/go that referenced this issue Feb 20, 2024
* Revert "services/horizon: Add DISABLE_SOROBAN_INGEST flag to skip soroban ingestion processing (stellar#5176)"

This reverts commit bfaf9e1.

* stellar#5189: added optional SKIP_TXMETA parameter to not persist tx meta in transaction model, removed DISABLE_SOROBAN_INGEST, use SKIP_META instead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance issues aimed at improving performance rpc-sdk-scrum
Projects
Status: Done
Development

No branches or pull requests

2 participants