Comments (5)
Consider naming these as the inverse (ex. DISABLE_X
). We currently have very limited test coverage around command line args, part of this effort should include adding that coverage
from go.
make sure data ingestion is happening by checking it's DB and If no ingestion is detected, Horizon should exit with an appropriate error.
This is interesting. Do you mean something like watching database state and seeing that e.g. select max(sequence) from history_ledgers;
is increasing?
I think just having a Stellar Core to forward txsub and a valid db connection to should be enough, since the admin will see 504s if their db is not ingesting correctly. Wdyt?
from go.
make sure data ingestion is happening by checking it's DB and If no ingestion is detected, Horizon should exit with an appropriate error.
This is interesting. Do you mean something like watching database state and seeing that e.g.
select max(sequence) from history_ledgers;
is increasing?
Yes, that was my understanding as well.
I think just having a Stellar Core to forward txsub and a valid db connection to should be enough, since the admin will see 504s if their db is not ingesting correctly. Wdyt?
I agree, it seems like that should serve as a sanity check. What do you think @sreuland?
from go.
Suggestion to rename the flag TX_SUB_DISABLED
to something like DISABLE_TRANSACTION_SUBMISSION
or TRANSACTION_SUBMISSION_DISABLED
from go.
I think just having a Stellar Core to forward txsub and a valid db connection to should be enough, since the admin will see 504s if their db is not ingesting correctly. Wdyt?
I agree, it seems like that should serve as a sanity check. What do you think @sreuland?
yep, that proposed mechanism to detect ingestion may be all that's needed, it would mean invoking a request against STELLAR_CORE_URL
to confirm valid response, etc, that mechanism was intentionally vague in the requirements as was expected to incur some investigation into what might be available for detection.
from go.
Related Issues (20)
- stellar/horizon: Figure out difference from core in path payment ingestion HOT 1
- Create Horizon Configuration File
- services/horizon/flags: refined cli help content HOT 1
- services/horizon: use of strict captive-core config makes horizon unnecessarily incompatible with new stellar-core features HOT 1
- Eviction of Soroban ledger entries can lead to Horizon having invalid asset stats HOT 4
- horizon: TestFillGaps and TestReingestDB are flaky HOT 6
- Add Flag to truncate full href URL in responses
- services/horizon: deprecate command-line parameter usage in favor of env vars
- services/horizon: support configuration via configuration files HOT 1
- services/horizon: Document horizon setups of partners
- services/horizon: fix long-running payment migration HOT 2
- Remove unused indexes from horizon schema HOT 8
- services/horizon: investigate db connection management anomalies
- Write a knowledge document on removing Horizon submission queue
- Horizon does not account for expired contract balances in asset stats endpoint HOT 3
- Horizon payments query can degrade depending on distribution of operations
- services/horizon: Decouple reaping module from Horizon App
- xdr: update XDR for soroban pubnet release HOT 1
- Evaluate core change impact of renaming LedgerCloseMetaV2 to V1 since V1 is not currently used
- services/horizon: submitting soroban tx without sorobanData results in 500 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go.