Skip to content

Scheduler: an overweight task removed silently  #195

@muharem

Description

@muharem

Is there an existing issue?

  • I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

  • This is not a support question.

Description of bug

A task which does not passes this weight check will be removed silently.

https://github.com/paritytech/substrate/blob/a7bc9c2a8c0a14fd6033de1f972a11a2b3dbb73a/frame/scheduler/src/lib.rs#L1014

Steps to reproduce

Schedule a task with a big len, to not pass that check.
The task wont be postponed even if its not a first task and removed silently with no errors

mentor: @muharem

Metadata

Metadata

Assignees

No one assigned

    Labels

    C1-mentorA task where a mentor is available. Please indicate in the issue who the mentor could be.D0-easyCan be fixed primarily by duplicating and adapting code by an intermediate coder.I2-bugThe node fails to follow expected behavior.T1-FRAMEThis PR/Issue is related to core FRAME, the framework.

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions