[go: up one dir, main page]

Introduce auto storage maintenance delay

This MR is a followup of !14279 (merged) that aims to bring the auto maintenance delay. The idea is that setting --storage-maintenance-delay auto will automatically delay the storage maintenance so that it won't be triggered before 1/20 th and not after 1/2 of a cycle duration, ensuring better performances at cycle dawn, avoiding conflicts with protocol activations and payouts. This auto delay aims to be randomly chosen for each node, whenever a cycle starts.

It is not activated by default for now.

Manually testing the MR

dune exec tezt/tests/main.exe -- -f storage_maintenance.ml or dune exec tezt/tests/main.exe -- --title '<PROTO>: storage maintenance auto delay + green CI

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR

Merge request reports

Loading