-
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
horizon/ingest: http archive requests need a metric and user-agent correction #5161
Comments
I believe this bug was present up to release 2.27.0 due to the user agent config being dropped from the config sent to archive pool here: https://github.com/stellar/go/blob/horizon-v2.27.0/historyarchive/archive_pool.go#L36-L39 however, looking at latest on master, this issue appears to now be obsolete as the entire config including user agent is now sent to the archive pool creation: https://github.com/stellar/go/blob/master/historyarchive/archive_pool.go#L34-L36 this change was merged recently as part of exp: Add the Zenith (Light Horizon) prototype #4352, and will result in archive url requests from horizon ingestion to now emit http header |
related to #5163, at least for identifying an archive request coming from horizon based on user-agent. |
will patch this on 2.28.0 release branch, since latest master which has a fix from a larger feature dev effort related to ledgerexporter, #4352, will not be included on 2.28.0 release. |
#5166 merged |
What version are you using?
2.27.0
What did you do?
run horizon with forward/live ingestion enabled,
ingest=true
which is enabled. by default.What did you expect to see?
User-Agent: "horizon/<horizon_version> golang/<go_mod_version>
User-Agent: "horizon/<horizon_version> golang/<go_mod_version>
What did you see instead?
the outbound archive url request has the default golang http header instead
User-Agent: "Go-http-client
The text was updated successfully, but these errors were encountered: