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
F15428542: D19850.diff
Sun, Mar 23, 9:04 PM
F15386012: D19850.id47401.diff
Fri, Mar 14, 11:51 PM
F15354136: D19850.diff
Tue, Mar 11, 2:10 AM
F15308899: D19850.id47416.diff
Thu, Mar 6, 6:45 AM
F15308898: D19850.id47401.diff
Thu, Mar 6, 6:45 AM
F15308897: D19850.id47400.diff
Thu, Mar 6, 6:45 AM
F15308896: D19850.id.diff
Thu, Mar 6, 6:45 AM
Unknown Object (File)
Feb 16 2025, 3:15 PM
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 21251
Build 28906: Run Core Tests
Build 28905: arc lint + arc unit