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

No need to update cursor when ingesting from captive core #5153

Closed
tamirms opened this issue Jan 5, 2024 · 1 comment
Closed

No need to update cursor when ingesting from captive core #5153

tamirms opened this issue Jan 5, 2024 · 1 comment
Assignees
Labels
bug horizon ingest New ingestion system performance issues aimed at improving performance

Comments

@tamirms
Copy link
Contributor

tamirms commented Jan 5, 2024

As @sreuland reported, we always update the cursor via the stellar core client in the resume state:

https://github.com/stellar/go/blob/master/services/horizon/internal/ingest/fsm.go#L526

We should only be doing this if we're running legacy ingestion via the stellar core postgres DB. When running captive core, there is no need to update the cursor.

@tamirms tamirms added the bug label Jan 5, 2024
@mollykarcher mollykarcher added horizon performance issues aimed at improving performance labels Jan 5, 2024
@sreuland sreuland self-assigned this Jan 8, 2024
@sreuland sreuland added the ingest New ingestion system label Jan 8, 2024
sreuland added a commit to sreuland/go that referenced this issue Jan 10, 2024
sreuland added a commit to sreuland/go that referenced this issue Jan 11, 2024
@sreuland
Copy link
Contributor

#5158 merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug horizon ingest New ingestion system performance issues aimed at improving performance
Projects
Status: Done
Development

No branches or pull requests

3 participants