Page MenuHomePhabricator

Make storage adjustment a little nicer, especially the first time
ClosedPublic

Authored by epriestley on Sep 7 2016, 2:54 PM.
Tags
None
Referenced Files
F15336889: D16509.diff
Sun, Mar 9, 3:24 AM
F15284257: D16509.id39728.diff
Tue, Mar 4, 9:29 AM
Unknown Object (File)
Mon, Mar 3, 2:52 AM
Unknown Object (File)
Tue, Feb 18, 11:42 AM
Unknown Object (File)
Mon, Feb 17, 1:44 AM
Unknown Object (File)
Jan 29 2025, 11:10 AM
Unknown Object (File)
Jan 21 2025, 12:34 PM
Unknown Object (File)
Jan 17 2025, 5:45 PM
Subscribers
None
Tokens
"Dat Boi" token, awarded by chad.

Details

Summary

Fixes T11583.

  • When users run bin/storage upgrade for the first time on a new install, we currently give them a prompt which feels rough and which they can only reasonably ever answer "yes" to.
  • We generally use cautionary language ("found issues with schema") in this workflow. Adjustments are now routine, so use more neutral and progress-oriented language ("found adjustments to apply").
Test Plan
  • Ran bin/storage upgrade --namesapce kappa123, got an adjustment using neutral language without prompting.
  • Dropped a key, ran bin/storage upgrade, got normal workflow (but with more neutral language).

Diff Detail

Repository
rP Phabricator
Branch
niceadjust
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 13607
Build 17532: Run Core Tests
Build 17531: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Make storage adjustment a little nicer, especially the first time.
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.Sep 7 2016, 4:05 PM
This revision was automatically updated to reflect the committed changes.