forked from couchbase/ep-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.json
702 lines (702 loc) · 21.3 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
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
{
"params": {
"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"
},
"access_scanner_enabled": {
"default": "true",
"descr": "True if access scanner task is enabled",
"type": "bool"
},
"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": "2",
"descr": "Hour in GMT time when access scanner task is scheduled to run",
"type": "size_t",
"validator": {
"range": {
"max": 23,
"min": 0
}
}
},
"alog_resident_ratio_threshold": {
"default": "95",
"desr": "Resident ratio percentage above which we do not generate access log",
"dynamic": false,
"type": "size_t",
"validator": {
"range": {
"max": 100,
"min": 0
}
}
},
"backend": {
"default": "couchdb",
"dynamic": false,
"type": "std::string",
"validator": {
"enum": [
"couchdb",
"forestdb"
]
}
},
"backfill_mem_threshold": {
"default": "96",
"desr": "Percentage of memory that backfill task is allowed to consume",
"type": "size_t",
"validator": {
"range": {
"max": 100,
"min": 0
}
}
},
"bg_fetch_delay": {
"default": "0",
"type": "size_t",
"validator": {
"range": {
"max": 900,
"min": 0
}
}
},
"bfilter_enabled": {
"default": "true",
"desr": "Enable or disable the bloom filter",
"type": "bool"
},
"bfilter_key_count": {
"default": "10000",
"desr": "Bloomfilter: Estimated key count per vbucket",
"type": "size_t",
"validator": {
"range": {
"min": 1
}
}
},
"bfilter_fp_prob": {
"default": "0.01",
"desr": "Bloomfilter: Allowed probability for false positives",
"type": "float"
},
"bfilter_residency_threshold": {
"default": "0.1",
"desr" : "If resident ratio (during full eviction) were found less than this threshold, compaction will include all items into bloomfilter",
"type" : "float",
"validator": {
"range": {
"max": 1.0,
"min": 0.0
}
}
},
"compaction_exp_mem_threshold": {
"default": "85",
"desr": "Memory usage threshold after which compaction will not queue expired items for deletion",
"type": "size_t",
"validator": {
"range": {
"max": 100,
"min": 0
}
}
},
"chk_max_items": {
"default": "500",
"type": "size_t"
},
"chk_period": {
"default": "5",
"type": "size_t"
},
"chk_remover_stime": {
"default": "5",
"type": "size_t"
},
"compaction_write_queue_cap": {
"default": "10000",
"desr" : "Disk write queue threshold after which compaction tasks will be made to snooze, if there are already pending compaction tasks",
"type" : "size_t",
"validator": {
"range": {
"min": 1
}
}
},
"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"
},
"cursor_dropping_lower_mark": {
"default": "80",
"descr": "Percentage of memQuota, below which checkpoint cursor dropping will not continue",
"type": "size_t",
"validator": {
"range": {
"max": 100,
"min": 0
}
}
},
"cursor_dropping_upper_mark": {
"default": "95",
"descr": "Percentage of memQuota, above which checkpoint cursor dropping will commence",
"type": "size_t",
"validator": {
"range": {
"max": 100,
"min": 0
}
}
},
"data_traffic_enabled": {
"default": "true",
"descr": "True if we want to enable data traffic after warmup is complete",
"type": "bool"
},
"dbname": {
"default": "./test",
"descr": "Path to on-disk storage.",
"dynamic": false,
"type": "std::string"
},
"defragmenter_enabled": {
"default": "true",
"descr": "True if defragmenter task is enabled",
"type": "bool"
},
"defragmenter_interval": {
"default": "10",
"descr": "How often defragmenter task should be run (in seconds).",
"type": "size_t"
},
"defragmenter_age_threshold": {
"default": "10",
"descr": "How old (measured in number of defragmenter passes) must a document be to be considered for degragmentation.",
"type": "size_t"
},
"defragmenter_chunk_duration": {
"default": "20",
"descr": "Maximum time (in ms) defragmentation task will run for before being paused (and resumed at the next defragmenter_interval).",
"type": "size_t",
"validator": {
"range": {
"min": 1
}
}
},
"enable_chk_merge": {
"default": "false",
"descr": "True if merging closed checkpoints is enabled",
"type": "bool"
},
"exp_pager_enabled": {
"default": "true",
"descr": "True if expiry pager task is enabled",
"type": "bool"
},
"exp_pager_stime": {
"default": "3600",
"descr": "Number of seconds between expiry pager runs.",
"type": "size_t"
},
"exp_pager_initial_run_time": {
"default": "-1",
"descr": "Hour in GMT time when expiry pager can be scheduled for initial run",
"type": "ssize_t",
"validator": {
"range": {
"max": 23,
"min": -1
}
}
},
"failpartialwarmup": {
"default": "true",
"type": "bool"
},
"flushall_enabled": {
"default": "true",
"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": "47",
"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
}
}
},
"max_num_readers": {
"default": "0",
"descr": "Throttle max number of reader threads",
"dynamic": false,
"type": "size_t",
"validator": {
"range": {
"max": 512,
"min": 0
}
}
},
"max_num_writers": {
"default": "0",
"descr": "Throttle max number of writer threads",
"dynamic": false,
"type": "size_t",
"validator": {
"range": {
"max": 512,
"min": 0
}
}
},
"max_num_auxio": {
"default": "0",
"descr": "Throttle max number of aux io threads",
"dynamic": false,
"type": "size_t",
"validator": {
"range": {
"max": 512,
"min": 0
}
}
},
"max_num_nonio": {
"default": "0",
"descr": "Throttle max number of non io threads",
"dynamic": false,
"type": "size_t",
"validator": {
"range": {
"max": 512,
"min": 0
}
}
},
"mem_high_wat": {
"default": "max",
"type": "size_t"
},
"mem_low_wat": {
"default": "max",
"type": "size_t"
},
"mutation_mem_threshold": {
"default": "93",
"desr": "Percentage of memory that can be used before mutations return tmpOOMs",
"type": "size_t",
"validator" : {
"range" : {
"max": 100,
"min": 0
}
}
},
"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"
},
"replication_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
}
}
},
"replication_throttle_queue_cap": {
"default": "-1",
"descr": "Max size of a write queue to throttle incoming tap input.",
"type": "ssize_t",
"validator": {
"range": {
"max": 100000000,
"min": -1
}
}
},
"replication_throttle_threshold": {
"default": "99",
"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"
},
"dcp_backfill_byte_limit": {
"default": "20971832",
"descr": "Max bytes a connection can backfill into memory",
"dynamic": false,
"type": "size_t"
},
"dcp_flow_control_policy": {
"default": "aggressive",
"descr": "Flow control policy used on consumer side buffer",
"type": "std::string",
"validator": {
"enum": [
"none",
"static",
"dynamic",
"aggressive"
]
}
},
"dcp_conn_buffer_size": {
"default": "10485760",
"descr": "Size in bytes of an dcp consumer connection buffer",
"dynamic": false,
"type": "size_t"
},
"dcp_conn_buffer_size_max": {
"default": "52428800",
"descr": "Max size in bytes of an dcp consumer connection buffer",
"dynamic": false,
"type": "size_t"
},
"dcp_conn_buffer_size_perc": {
"default": "1",
"descr": "Percentage of memQuota for a dcp consumer connection buffer in dynamic flow ctl policy",
"type": "size_t",
"dynamic": false,
"validator": {
"range": {
"max": 10,
"min": 1
}
}
},
"dcp_conn_buffer_size_aggr_mem_threshold": {
"default": "10",
"descr": "Aggr mem usage by all dcp conns (as percentage of memQuota) after which only dcp_conn_buffer_size is allocated",
"type": "size_t",
"dynamic": false,
"validator": {
"range": {
"max": 20,
"min": 1
}
}
},
"dcp_conn_buffer_size_aggressive_perc": {
"default": "5",
"descr": "Percentage of memQuota for all dcp consumer connection buffers in aggressive flow ctl policy",
"type": "size_t",
"dynamic": false,
"validator": {
"range": {
"max": 20,
"min": 1
}
}
},
"dcp_enable_noop": {
"default": "true",
"descr": "Whether or not dcp connections should use no-ops",
"dynamic": false,
"type": "bool"
},
"dcp_value_compression_enabled": {
"default": "false",
"desr": "Whether or not dcp producer should compress value before transmitting",
"dynamic": false,
"type": "bool"
},
"dcp_min_compression_ratio": {
"default": "0.85",
"desr": "Compression ratio to be achieved above which producer will ship documents as is",
"type": "float",
"validator": {
"range": {
"min": 0.0
}
}
},
"dcp_noop_interval": {
"default": "180",
"descr": "Number of seconds between a noop",
"type": "size_t"
},
"dcp_max_unacked_bytes": {
"default": "524288",
"descr": "Amount of processed bytes before an ack is required",
"dynamic": false,
"type": "size_t"
},
"dcp_scan_byte_limit": {
"default": "4194304",
"descr": "Max bytes that can be read in a single disk scan",
"dynamic": false,
"type": "size_t"
},
"dcp_scan_item_limit": {
"default": "4096",
"descr": "Max items that can be read in a single disk scan",
"dynamic": false,
"type": "size_t"
},
"dcp_takeover_max_time": {
"default": "60",
"descr": "Max amount of time for takeover send (in seconds) after which front end ops would return ETMPFAIL",
"dynamic": false,
"type": "size_t"
},
"dcp_producer_snapshot_marker_yield_limit": {
"default": "10",
"descr": "The number of snapshots before ActiveStreamCheckpointProcessorTask::run yields.",
"type": "size_t"
},
"time_synchronization": {
"default": "disabled",
"descr": "Time synchronization setting for XDCR Last Write Wins (LWW) conflict resolution",
"type": "std::string",
"validator": {
"enum": [
"disabled",
"enabled_without_drift",
"enabled_with_drift"
]
}
},
"vb0": {
"default": "false",
"type": "bool"
},
"waitforwarmup": {
"default": "false",
"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
}
}
}
}
}