Page MenuHomePhabricator

Don't stop on read-only mode for read-only storage workflows
ClosedPublic

Authored by epriestley on May 30 2016, 3:34 PM.
Tags
None
Referenced Files
F19107699: D15987.diff
Mon, Dec 8, 8:35 AM
F18975781: D15987.id38483.diff
Nov 16 2025, 10:21 AM
F18893363: D15987.id38486.diff
Nov 7 2025, 12:49 PM
F18877511: D15987.id.diff
Nov 6 2025, 9:24 AM
F18873265: D15987.diff
Nov 5 2025, 8:50 AM
F18861735: D15987.diff
Nov 2 2025, 4:24 PM
F18855972: D15987.diff
Nov 1 2025, 7:33 AM
F18771316: D15987.id38486.diff
Oct 8 2025, 7:05 PM
Subscribers
None

Details

Summary

Fixes T11042. Currently, all bin/storage workflows stop if cluster.read-only is set:

$ ./bin/storage adjust
Usage Exception: Phabricator is currently in read-only mode. Use --force to override this mode.

However, some of them (status, dump, databases, etc) are read-only anyway and safe to run. Don't prompt in these cases.

Test Plan
  • Set cluster.read-only to true.
  • Ran bin/storage dump, bin/storage status, etc. No longer received messages.

Diff Detail

Repository
rP Phabricator
Branch
rodump
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 12360
Build 15638: Run Core Tests
Build 15637: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Don't stop on read-only mode for read-only storage workflows.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.May 30 2016, 3:44 PM
This revision was automatically updated to reflect the committed changes.