Skip to content

Remove the unused BackpressurePause #8686

Closed

Description

@aglinxinyuan

Task Summary

BackpressurePause is a PauseType that no production code passes to PauseManager.

Introduced by #1636 (2022-08-20, "Introduce types of pause in Amber"). Backpressure paused the worker through PauseManager under its own pause type.

Usage removed by #2237 (2023-12-02, "Use ActorMessage for flow control"). That PR deleted the pauseManager.pause(BackpressurePause) / resume(BackpressurePause) calls. Backpressure now arrives as an ActorCommand and flips DPThread.backpressureStatus, so it never goes through PauseManager.

It has been dead for nearly three years. Only PauseTypeSpec and WorkerManagersSpec still reference it. #4533 removed its sibling SchedulerTimeSlotExpiredPause for the same reason.

This is a pure deletion with no behaviour change: +11/−19 lines.

Task Type

  • Refactor / Cleanup

Activity

  1. added a commit that references this issue on Sep 26, 2026
    d102e26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions