LiskArchive / lisk-sdk

🔩 Lisk software development kit
https://lisk.com
Apache License 2.0
2.72k stars 457 forks source link

Improve db storage in chain connector plugin #9195

Open ishantiw opened 5 months ago

ishantiw commented 5 months ago

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

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

6.0.1