Solana: The number of accounts/ files in TdS and SLP snapshots is too high

Created on 7 Feb 2020  路  7Comments  路  Source: solana-labs/solana

Snapshots are taking 1000 slots or worse to unpack and process on TdS/SLP, due to the large number of accounts/ files in them. At this time, TdS has over 4500 files in accounts/, SLP has almost 3000.

This slows down the ability of validators to quickly boot and restart.

Most helpful comment

Finally, my almost 1-month worth labor is paying off:

TdS:

image

SLP:

image

All 7 comments

This is partly affected by this #8148, which causes some unneeded storage entries not to be deleted forever.

This is starting to be a real problem. I'm getting snapshots on TdS and SLP that are from more than 10 minutes ago, which causes new validators to catch up very slowly

Status update: I've created a fix locally which reduces the current TdS snapshot into 1/5. PRs are coming shortly after.

oops, this is not fixed!

Finally, my almost 1-month worth labor is paying off:

TdS:

image

SLP:

image

@ryoqun - I think we can call this issue fixed now right?

@mvines yes from operational standpoint!

There is still minor security issue, which I noticed and could be mitigated by more aggressive cleaning implementation. But there are bunch of similar low-priority security issues when deserializing a snapshot, which is tracked by #7167. So, closing this now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

garious picture garious  路  12Comments

mvines picture mvines  路  7Comments

carllin picture carllin  路  5Comments

mvines picture mvines  路  10Comments

ryoqun picture ryoqun  路  10Comments