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

Enhance Hot Schema reload #2284

Open
3 tasks done
bz888 opened this issue Mar 5, 2024 · 0 comments
Open
3 tasks done

Enhance Hot Schema reload #2284

bz888 opened this issue Mar 5, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@bz888
Copy link
Contributor

bz888 commented Mar 5, 2024

Prerequisites

  • Are you running the latest version(s)?
  • Have you searched the documentation for your issue?
  • Did you search for an existing issue or pull request?

Description

Currently, hot schema reload is triggered by incrementing the schemaMigrationCount on the _metadata table. But the issue is that it would increment on every restart.

With the introduce of schema migration feature and the refactor to store.service I think hot schema reload should also be reworked to better suit the current implementation of things.

Details

These details can help to reproduce the environment the issue is occurring

Local Environment: [You can get this information from executing subql version.]
Query Version: [What is the version of the query service?]
Indexer Version: [What is the version of the indexer service?]
Network Details:

  • [Network]
  • [Block height, a block height where the issue is happening]
  • [Dictionary endpoint, if used]

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Example project: [A link to a minimal example that can reproduce the issue]

Expected behavior: [What you expected to happen]

Actual behavior: [What actually happened]

Any other information

Is there any other information you would like to add?

@bz888 bz888 added the enhancement New feature or request label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant