Skip to content

Allow using Subgraph API and Omnigraph API only after backfill was completed #2086

@tk-o

Description

@tk-o

Currently, it's possible for users to interact with Subgraph API and Omnigraph API during backfill. It means means that user queries are executed against partially indexed data. We should only support such queries after the backfill has completed. Therefore, we need to update the UI layer and API layer accordingly.

  • ENSAdmin
    • During backfill, for ENS Omnigraph view and ENS Subgraph view, show an error message explaining how those views can only be used after indexing has reached the following status.
  • ENSApi
    • During backfill, return 503 Service Unavailable HTTP status for queries to Subgraph API and Omnigraph API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ensadminENSAdmin relatedensapiENSApi relatedenssubgraphENSSubgraph relatedensv2ENSv2 related

    Type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions