-
Notifications
You must be signed in to change notification settings - Fork 499
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
services/horizon: Add DISABLE_SOROBAN_INGEST flag to skip soroban ingestion processing #5176
Merged
sreuland
merged 20 commits into
stellar:release-horizon-v2.28.0
from
urvisavla:5175/skip-soroban-ingestion-flag
Jan 25, 2024
Merged
services/horizon: Add DISABLE_SOROBAN_INGEST flag to skip soroban ingestion processing #5176
sreuland
merged 20 commits into
stellar:release-horizon-v2.28.0
from
urvisavla:5175/skip-soroban-ingestion-flag
Jan 25, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
urvisavla
force-pushed
the
5175/skip-soroban-ingestion-flag
branch
2 times, most recently
from
January 21, 2024 01:52
dd36e94
to
572fc72
Compare
urvisavla
commented
Jan 21, 2024
urvisavla
force-pushed
the
5175/skip-soroban-ingestion-flag
branch
from
January 21, 2024 02:20
572fc72
to
a11e6d7
Compare
…soroban ingestion processing
urvisavla
force-pushed
the
5175/skip-soroban-ingestion-flag
branch
from
January 21, 2024 02:25
a11e6d7
to
66342bb
Compare
urvisavla
commented
Jan 21, 2024
Shaptic
reviewed
Jan 22, 2024
…processors to prevent making changes in the individual processors.
urvisavla
force-pushed
the
5175/skip-soroban-ingestion-flag
branch
from
January 23, 2024 01:57
0860eb6
to
e5db60b
Compare
update soroban tests for disabled config
Shaptic
approved these changes
Jan 24, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Straightforward solution and nice test coverage! 👏
Coupla small nitpicks below ⬇️ but it's good to merge as-is imo!
services/horizon/internal/ingest/processors/effects_processor.go
Outdated
Show resolved
Hide resolved
services/horizon/internal/ingest/processors/operations_processor.go
Outdated
Show resolved
Hide resolved
services/horizon/internal/integration/invokehostfunction_test.go
Outdated
Show resolved
Hide resolved
sreuland
changed the title
services/horizon: Add DISABLE_SOROBAN_INGEST_PROCESSORS flag to skip soroban ingestion processing
services/horizon: Add DISABLE_SOROBAN_INGEST flag to skip soroban ingestion processing
Jan 25, 2024
sreuland
pushed a commit
to sreuland/go
that referenced
this pull request
Jan 29, 2024
…estion processing (stellar#5176)
sreuland
added a commit
to sreuland/go
that referenced
this pull request
Feb 14, 2024
…oban ingestion processing (stellar#5176)" This reverts commit bfaf9e1.
7 tasks
sreuland
added a commit
to sreuland/go
that referenced
this pull request
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Checklist
PR Structure
otherwise).
services/friendbot
, orall
ordoc
if the changes are broad or impact manypackages.
Thoroughness
.md
files, etc... affected by this change). Take a look in the
docs
folder for a given service,like this one.
Release planning
needed with deprecations, added features, breaking changes, and DB schema changes.
semver, or if it's mainly a patch change. The PR is targeted at the next
release branch if it's not a patch change.
What
Added
DISABLE_SOROBAN_INGEST_PROCESSORS
flag to optionally skip Soroban related ingestion processing. It's set tofalse
by default. #5175 provides specs on specific processes and storage points that are elided.Why
Fixes #5175
Known limitations
Manually tested. So would be good to add unit tests to validate the flag and correct processing skipping.