Optimizations of av-store (#2223)

* Store all chunks and in a single transaction

* Adds chunks LRU to store

* Add pruning records metrics

* Use honest cache instead of LRU

* Remove unnecessary optional cache

* Fix review nits that are fixable
This commit is contained in:
Fedor Sakharov authored and GitHub committed 2021-01-07 21:00:30 +00:00
1 parent 0d614374e9
commit b97f52a4c8
6 files changed
+122 -77

No files matched your search

@@ -1036,7 +1036,6 @@ where
AvailabilityStoreMessage::StoreChunk {
candidate_hash,
relay_parent,
validator_index,
chunk: erasure_chunk,
tx,
}