Skip to content

Reject flow on disk backup size hysteresis#180

Merged
ZanCorDX merged 4 commits intomainfrom
dx/restart-hysteresis
Mar 18, 2026
Merged

Reject flow on disk backup size hysteresis#180
ZanCorDX merged 4 commits intomainfrom
dx/restart-hysteresis

Conversation

@ZanCorDX
Copy link
Collaborator

@ZanCorDX ZanCorDX commented Mar 16, 2026

  • Replaced the single disk_max_size_to_accept_user_rpc threshold with two thresholds to prevent oscillation around the boundary:

    • disk_backup_size_reject_flow_threshold (default 1024 MB) — reject user RPCs when backup disk size exceeds this
    • disk_backup_size_resume_flow_threshold (default 512 MB) — resume accepting user RPCs only after backup disk size drops below this
  • Updated metrics.

  • Fixed some metrics named with a double _clickhouse.

  • Polished some init code (now inside a fn new)

@ZanCorDX ZanCorDX marked this pull request as ready for review March 17, 2026 19:18
@ZanCorDX ZanCorDX merged commit 029b7c4 into main Mar 18, 2026
7 checks passed
@ZanCorDX ZanCorDX deleted the dx/restart-hysteresis branch March 18, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants