forked from membase/ep-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.json
405 lines (405 loc) · 11.5 KB
/
configuration.json
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
{
"params": {
"allow_data_loss_during_shutdown": {
"default": "false",
"dynamic": false,
"type": "bool"
},
"alog_block_size": {
"default": "4096",
"descr": "Logging block size.",
"dynamic": false,
"type": "size_t"
},
"alog_path": {
"default": "",
"descr": "Path to the access log.",
"dynamic": false,
"type": "std::string"
},
"alog_sleep_time": {
"default": "1440",
"descr": "Number of minutes between each sweep for the access log",
"type": "size_t",
"validator": {
"range": {
"max": 4320,
"min": 1
}
}
},
"alog_task_time": {
"default": "10",
"descr": "Hour in GMT time when access scanner task is scheduled to run",
"type": "size_t",
"validator": {
"range": {
"max": 23,
"min": 0
}
}
},
"backend": {
"default": "couchdb",
"dynamic": false,
"type": "std::string",
"validator": {
"enum": [
"couchdb"
]
}
},
"bg_fetch_delay": {
"default": "0",
"type": "size_t",
"validator": {
"range": {
"max": 900,
"min": 0
}
}
},
"chk_max_items": {
"default": "5000",
"type": "size_t"
},
"chk_period": {
"default": "1800",
"type": "size_t"
},
"chk_remover_stime": {
"default": "5",
"type": "size_t"
},
"config_file": {
"default": "",
"dynamic": false,
"type": "std::string"
},
"conflict_resolution_type": {
"default": "seqno",
"dynamic": false,
"type": "std::string",
"validator": {
"enum": [
"seqno"
]
}
},
"couch_bucket": {
"default": "default",
"dynamic": false,
"type": "std::string"
},
"couch_host": {
"default": "127.0.0.1",
"dynamic": false,
"type": "std::string"
},
"couch_port": {
"default": "11213",
"dynamic": false,
"type": "size_t"
},
"couch_reconnect_sleeptime": {
"default": "250",
"dynamic": false,
"type": "size_t"
},
"couch_response_timeout": {
"default": "180000",
"descr": "Length of time to wait for a response from couchdb before reconnecting (in ms)",
"type": "size_t"
},
"data_traffic_enabled": {
"default": "true",
"descr": "True if we want to enable data traffic after warmup is complete",
"type": "bool"
},
"dbname": {
"default": "/tmp/test",
"descr": "Path to on-disk storage.",
"dynamic": false,
"type": "std::string"
},
"exp_pager_stime": {
"default": "3600",
"type": "size_t"
},
"failpartialwarmup": {
"default": "true",
"type": "bool"
},
"flushall_enabled": {
"default": "false",
"descr": "True if memcached flush API is enabled",
"type": "bool"
},
"getl_default_timeout": {
"default": "15",
"descr": "The default timeout for a getl lock in (s)",
"type": "size_t"
},
"getl_max_timeout": {
"default": "30",
"descr": "The maximum timeout for a getl lock in (s)",
"type": "size_t"
},
"ht_locks": {
"default": "0",
"type": "size_t"
},
"ht_size": {
"default": "0",
"type": "size_t"
},
"initfile": {
"default": "",
"type": "std::string"
},
"item_eviction_policy": {
"default": "value_only",
"descr": "Item eviction policy on cache, which is used by the item pager",
"type": "std::string",
"validator": {
"enum": [
"value_only",
"full_eviction"
]
}
},
"item_num_based_new_chk": {
"default": "true",
"descr": "True if the number of items in the current checkpoint plays a role in a new checkpoint creation",
"type": "bool"
},
"keep_closed_chks": {
"default": "false",
"descr": "True if we want to keep the closed checkpoints for each vbucket unless the memory usage is above high water mark",
"type": "bool"
},
"max_checkpoints": {
"default": "2",
"type": "size_t"
},
"max_failover_entries": {
"default": "25",
"descr": "maximum number of failover log entries",
"type": "size_t"
},
"max_item_size": {
"default": "(20 * 1024 * 1024)",
"descr": "Maximum number of bytes allowed for an item",
"type": "size_t"
},
"max_size": {
"default": "0",
"type": "size_t"
},
"max_vbuckets": {
"default": "1024",
"descr": "Maximum number of vbuckets expected",
"dynamic": false,
"type": "size_t"
},
"max_threads": {
"default": "0",
"descr": "Maximum number of threads in global pool",
"dynamic": false,
"type": "size_t"
},
"max_num_shards": {
"default": "4",
"descr": "Maximum number of shards",
"dynamic": false,
"type": "size_t"
},
"max_num_workers": {
"default": "4",
"descr": "Bucket Priority relative to other buckets",
"dynamic": false,
"type": "size_t",
"validator": {
"range": {
"max": 8,
"min": 1
}
}
},
"mem_high_wat": {
"default": "max",
"type": "size_t"
},
"mem_low_wat": {
"default": "max",
"type": "size_t"
},
"mutation_mem_threshold": {
"default": "95",
"type": "size_t"
},
"pager_active_vb_pcnt": {
"default": "40",
"descr": "Active vbuckets paging percentage",
"type": "size_t",
"validator": {
"range": {
"max": 50,
"min": 0
}
}
},
"postInitfile": {
"default": "",
"type": "std::string"
},
"tap_ack_grace_period": {
"default": "300",
"type": "size_t"
},
"tap_ack_initial_sequence_number": {
"default": "1",
"type": "size_t"
},
"tap_ack_interval": {
"default": "1000",
"type": "size_t"
},
"tap_ack_window_size": {
"default": "10",
"type": "size_t"
},
"tap_backfill_resident": {
"default": "0.9",
"type": "float"
},
"tap_backlog_limit": {
"default": "5000",
"type": "size_t"
},
"tap_backoff_period": {
"default": "5.0",
"type": "float"
},
"tap_bg_max_pending": {
"default": "500",
"type": "size_t"
},
"tap_keepalive": {
"default": "0",
"type": "size_t"
},
"tap_noop_interval": {
"default": "200",
"descr": "Number of seconds between a noop is sent on an idle connection",
"type": "size_t"
},
"tap_requeue_sleep_time": {
"default": "0.1",
"type": "float"
},
"tap_throttle_cap_pcnt": {
"default": "10",
"descr": "Percentage of total items in write queue at which we throttle tap input",
"type": "size_t",
"validator": {
"range": {
"max": 100,
"min": 0
}
}
},
"tap_throttle_queue_cap": {
"default": "1000000",
"descr": "Max size of a write queue to throttle incoming tap input.",
"type": "ssize_t",
"validator": {
"range": {
"max": 100000000,
"min": -1
}
}
},
"tap_throttle_threshold": {
"default": "90",
"descr": "Percentage of max mem at which we begin NAKing tap input.",
"type": "size_t",
"validator": {
"range": {
"max": 100,
"min": 0
}
}
},
"uuid": {
"default": "",
"descr": "The UUID for the bucket",
"dynamic" : false,
"type": "std::string"
},
"upr_conn_buffer_size": {
"default": "2097152",
"descr": "Size in bytes of an upr consumer connection buffer",
"dynamic": false,
"type": "size_t"
},
"upr_enable_flow_control": {
"default": "false",
"descr": "Whether or not upr connections should use flow control",
"dynamic": false,
"type": "bool"
},
"upr_max_unacked_bytes": {
"default": "524288",
"descr": "Amount of processed bytes before an ack is required",
"dynamic": false,
"type": "size_t"
},
"vb0": {
"default": "true",
"type": "bool"
},
"waitforwarmup": {
"default": "true",
"type": "bool"
},
"warmup": {
"default": "true",
"type": "bool"
},
"warmup_batch_size": {
"default": "1000",
"descr": "The size of each batch loaded during warmup.",
"dynamic": false,
"type": "size_t",
"validator": {
"range": {
"max": 10000,
"min": 1
}
}
},
"warmup_min_memory_threshold": {
"default": "100",
"descr": "Percentage of max mem warmed up before we enable traffic.",
"type": "size_t",
"validator": {
"range": {
"max": 100,
"min": 0
}
}
},
"warmup_min_items_threshold": {
"default": "100",
"descr": "Percentage of total items warmed up before we enable traffic.",
"type": "size_t",
"validator": {
"range": {
"max": 100,
"min": 0
}
}
}
}
}