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

Improve db storage in chain connector plugin #9195

Open
ishantiw opened this issue Feb 2, 2024 · 0 comments
Open

Improve db storage in chain connector plugin #9195

ishantiw opened this issue Feb 2, 2024 · 0 comments

Comments

@ishantiw
Copy link
Member

ishantiw commented Feb 2, 2024

Expected behavior

It should be easy to retrieve any data from the chain connector plugin using endpoints

Actual behavior

When no CCU is sent over a long period of time, the data stored grows linearly and the endpoints currently simply expose the whole array of data that leads to memory issues.

Steps to reproduce

  • Sync a node with Chain connector plugin enabled which is more than 500 blocks behind the current height and check chainConnector_getBlockHeaders endpoint if the data is saved for all the heights.

Which version(s) does this affect? (Environment, OS, etc...)

6.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant