-
Notifications
You must be signed in to change notification settings - Fork 392
/
riak_core.app
141 lines (132 loc) · 4.36 KB
/
riak_core.app
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
%% -*- tab-width: 4;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 et
{application, riak_core,
[
{description, "Riak Core"},
{vsn, "1.4.1"},
{modules, [
app_helper,
bloom,
chash,
chashbin,
gen_nb_server,
riak_core_gen_server,
json_pp,
merkerl,
riak_core_priority_queue,
process_proxy,
riak_core_gossip_legacy,
riak_core,
riak_core_apl,
riak_core_app,
riak_core_bucket,
riak_core_cinfo_core,
riak_core_claimant,
riak_core_claim,
riak_core_claim_sim,
riak_core_claim_util,
riak_core_new_claim,
riak_core_capability,
riak_core_config,
riak_core_console,
riak_core_coverage_fsm,
riak_core_coverage_plan,
riak_core_dtrace,
riak_core_eventhandler_guard,
riak_core_eventhandler_sup,
riak_core_format,
riak_core_gossip,
riak_core_handoff_listener,
riak_core_handoff_listener_sup,
riak_core_handoff_manager,
riak_core_handoff_receiver,
riak_core_handoff_receiver_sup,
riak_core_handoff_sender,
riak_core_handoff_sender_sup,
riak_core_handoff_sup,
riak_core_nodeid,
riak_core_node_watcher,
riak_core_node_watcher_events,
riak_core_pb,
riak_core_repair,
riak_core_ring,
riak_core_ring_events,
riak_core_ring_handler,
riak_core_ring_manager,
riak_core_ring_util,
riak_core_send_msg,
riak_core_stat,
riak_core_stat_cache,
riak_core_stat_calc_proc,
riak_core_stat_calc_sup,
riak_core_stat_sup,
riak_core_stat_q,
riak_core_stats_sup,
riak_core_status,
riak_core_sup,
riak_core_sysmon_handler,
riak_core_sysmon_minder,
riak_core_tracer,
riak_core_test_util,
riak_core_util,
riak_core_vnode,
riak_core_vnode_manager,
riak_core_vnode_master,
riak_core_vnode_proxy,
riak_core_vnode_proxy_sup,
riak_core_vnode_sup,
riak_core_vnode_worker,
riak_core_vnode_worker_pool,
riak_core_web,
riak_core_wm_urlmap,
riak_core_connection_mgr,
riak_core_connection_mgr_stats,
riak_core_connection,
riak_core_service_mgr,
riak_core_tcp_mon,
riak_core_ssl_util,
supervisor_pre_r14b04,
vclock,
riak_core_bg_manager,
riak_core_token_manager
]},
{registered, []},
{included_applications, [folsom]},
{applications, [
kernel,
stdlib,
lager,
sasl,
crypto,
riak_sysmon,
webmachine,
os_mon
]},
{mod, { riak_core_app, []}},
{env, [
%% Cluster name
{cluster_name, "default"},
%% Default location of ringstate
{ring_state_dir, "data/ring"},
%% Default ring creation size. Make sure it is a power of 2,
%% e.g. 16, 32, 64, 128, 256, 512 etc
{ring_creation_size, 64},
%% Default gossip interval (milliseconds)
{gossip_interval, 60000},
%% Target N value
{target_n_val, 4},
%% Default claims functions
{wants_claim_fun, {riak_core_claim, default_wants_claim}},
{choose_claim_fun, {riak_core_claim, default_choose_claim}},
%% Vnode inactivity timeout (how often to check if fallback vnodes
%% should return their data) in ms.
{vnode_inactivity_timeout, 60000},
%% Number of VNodes allowed to do handoff concurrently.
{handoff_concurrency, 2},
%% Disable Nagle on HTTP sockets
{disable_http_nagle, true},
%% Handoff IP/port
{handoff_port, 8099},
{handoff_ip, "0.0.0.0"}
]}
]}.