-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
fix: Separate indexer setup #10032
fix: Separate indexer setup #10032
Conversation
5086ed6
to
54c7ca9
Compare
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.
finished_indexing?/1
works impropelry - it returns true
, if indexer is disabled. So, it will always true in the setup with separated indexer and API pods.
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.
I suppose the same issue is true with indexed_ratio_internal_transactions/0
.
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.
Processed in 57501f5
9bd383a
to
57501f5
Compare
* master: (65 commits) fix: Add healthcheck endpoints for indexer-only setup (#10076) 6.6.0 fix: Rework revert_reason (#9212) fix: Eliminate from_address_hash == #{address_hash} clause for transactions query in case of smart-contracts (#9469) feat: Add optional retry of NFT metadata fetch in Indexer.Fetcher.Tok… (#10036) fix: Separate indexer setup (#10032) feat: Blueprint contracts support (#10058) chore: Update hackney pool size: add new fetchers accounting (#9941) fix: Disallow batched queries in GraphQL endpoint (#10050) feat: Clone with immutable arguments proxy pattern (#10039) fix: vyper contracts re-verificaiton (#10053) refactor: Refactor get_additional_sources/4 -> get_additional_sources/3 (#10046) chore: Bump credo from 1.7.5 to 1.7.6 (#10060) chore: Bump redix from 1.5.0 to 1.5.1 (#10059) chore: Bump ex_doc from 0.32.1 to 0.32.2 (#10061) fix: Fix Unknown UID bug at smart-contract verification (#9986) refactor: test database config (#9662) chore: remove `has_methods` from `/addresses` (#10051) feat: Improve retry NFT fetcher (#10027) chore: Add support of Blast-specific L1 OP withdrawal events (#10049) ...
Resolves #9254
Resolves #8890
Changelog
Chain.indexed_ratio_blocks/0
to use last block from DB to indicate if indexer is running instead ofDISABLE_INDEXER
env.DISABLE_WEBAPP=true
.Explorer.Chain.Events.Listener
enabled
logic so it will be started in API setup.DISABLE_API
env variable. If set,BlockScoutWeb
application won't start at all.INDEXER_INTERNAL_TRANSACTIONS_INDEXING_FINISHED_THRESHOLD
toAPI_INTERNAL_TRANSACTIONS_INDEXING_FINISHED_THRESHOLD
since it's used only for user requests.Docs update: blockscout/docs#278, blockscout/docs#279