Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

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
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant