Skip to content
Unverified Commit fa32f16e authored by Sebastian Kunert's avatar Sebastian Kunert
Browse files

StorageWeightReclaim: set to node pov size if higher (#5281)

This PR adds an additional defensive check to the reclaim SE.

Since it can happen that we miss some storage accesses on other SEs
pre-dispatch, we should double check
that the bookkeeping of the runtime stays ahead of the node-side
pov-size.

If we discover a mismatch and the node-side pov-size is indeed higher,
we should set the runtime bookkeeping to the node-side value. In cases
such as #5229, we would stop including extrinsics and not run `on_idle`
at least.

cc @gui1117

---------

Co-authored-by: command-bot <>
(cherry picked from commit 055eb537)
parent 8b1d35fe
Pipeline #490366 waiting for manual action with stages
in 41 minutes and 2 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment