Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract out console facing FSM from riak_cs_gc_d #1144

Merged
merged 8 commits into from
May 18, 2015
Merged

Commits on May 7, 2015

  1. Extract out console facing FSM from riak_cs_gc_d

    riak_cs_gc_d used to have bunch of complex states not only name of
    states exposed in gen_fsm, but also many elements in gc_d_state
    record. This commit extracts operator-facing states such as idle,
    paused, running from riak_cs_gc_d. riak_cs_gc_d is not a long-running
    worker under supervision tree any more, but riak_cs_gc_manager is.
    The lifecycle of riak_cs_gc_d is now as long as one GC batch - if the
    GC has finished then riak_cs_gc_d process terminates.
    
    See comments in both riak_cs_gc_d.erl and riak_cs_gc_manager.erl for
    detail state diagram and description.
    kuenishi committed May 7, 2015
    Configuration menu
    Copy the full SHA
    b5104c1 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2015

  1. Deprecate pause/resume ops and paused state from riak_cs_gc_manager

    For now, pause and remove can be replaced with stopping and setting
    interval. This simplifies two FSMs drastically in clean way.
    kuenishi committed May 14, 2015
    Configuration menu
    Copy the full SHA
    9d4ed44 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf40bf1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cf8ac7d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    414a1cb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4e307fb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9e69825 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2015

  1. 6 Configuration menu
    Copy the full SHA
    bf8b36d View commit details
    Browse the repository at this point in the history