Skip to content

Commit

Permalink
Merge pull request basho#115 from basho/az903-repl-improvements
Browse files Browse the repository at this point in the history
Allow applications to register repl helpers, for custom per-object repl behaviour
  • Loading branch information
Vagabond committed Dec 22, 2011
2 parents 87343c7 + 6355ca1 commit 2298fd0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/riak_core.erl
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,9 @@ register(_App, []) ->
register(App, [{bucket_fixup, FixupMod}|T]) ->
register_mod(get_app(App, FixupMod), FixupMod, bucket_fixups),
register(App, T);
register(App, [{repl_helper, FixupMod}|T]) ->
register_mod(get_app(App, FixupMod), FixupMod, repl_helper),
register(App, T);
register(App, [{vnode_module, VNodeMod}|T]) ->
register_mod(get_app(App, VNodeMod), VNodeMod, vnode_modules),
register(App, T);
Expand Down

0 comments on commit 2298fd0

Please sign in to comment.