Skip to content
Unverified Commit 055eb537 authored by Sebastian Kunert's avatar Sebastian Kunert Committed by GitHub
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 <>
parent b78d7955
Pipeline #489747 waiting for manual action with stages
in 1 hour, 19 minutes, and 9 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