clio
clio copied to clipboard
Stop Clio when cache has error
If successor table contains incorrect data:
- contains deleted object in list
- does not contain existing object in list
We should detect this ASAP and act before wrong data gets written to the DB.
For case 1, we can detect error here.
We shall stop Clio or disable cache to avoid writing more wrong data to successor table.
For case 2, we need shamap library to detect the corruption.
After we have shamap library in libxrpl then we can work on addressing case 2. @cindyyan317 can you create a github issue on rippled side for the shamap library in libxrpl? 🙏
Feature requested: https://github.com/XRPLF/rippled/issues/5038