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
F19153757: D19850.diff
Thu, Dec 11, 12:02 PM
F19032380: D19850.id47416.diff
Tue, Nov 25, 6:26 AM
F18868093: D19850.id47400.diff
Nov 4 2025, 4:35 AM
F18855713: D19850.diff
Nov 1 2025, 6:24 AM
F18716997: D19850.id47401.diff
Sep 29 2025, 1:01 PM
F18586506: D19850.diff
Sep 11 2025, 6:50 PM
F18580195: D19850.id47400.diff
Sep 11 2025, 2:47 AM
F18580183: D19850.id47401.diff
Sep 11 2025, 2:45 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