Page MenuHomePhabricator

Allow "bin/repository thaw --demote" to demote an entire service, not just a single device
ClosedPublic

Authored by epriestley on Dec 5 2018, 8:24 PM.
Tags
None
Referenced Files
F19801987: D19850.id47401.diff
Sun, Mar 1, 12:00 PM
F19801986: D19850.id47401.diff
Sun, Mar 1, 12:00 PM
F19741229: D19850.id47401.diff
Sun, Feb 15, 10:37 AM
F19524607: D19850.diff
Jan 18 2026, 2:42 AM
F19153757: D19850.diff
Dec 11 2025, 12:02 PM
F19032380: D19850.id47416.diff
Nov 25 2025, 6:26 AM
F18868093: D19850.id47400.diff
Nov 4 2025, 4:35 AM
F18855713: D19850.diff
Nov 1 2025, 6:24 AM
Subscribers
None

Details

Summary

Ref T13222. See PHI992. If you lose an entire cluster, you may want to aggressively demote it out of existence. You currently need to xargs your way through this. Allow --demote <service>, which demotes all devices in a service.

Test Plan

Demoted with --demote <device> and --demote <service>. Hit the --promote service error.

Diff Detail

Repository
rP Phabricator
Branch
services3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21252
Build 28908: Run Core Tests
Build 28907: arc lint + arc unit