Skip to content

Commit 13f1b79

Browse files
arangodb-docs-automation[bot]CircleCI Job
andauthored
[skip ci] Automatic commit of generated files from CircleCI (#422)
Co-authored-by: CircleCI Job <[email protected]>
1 parent a61d57b commit 13f1b79

File tree

4 files changed

+188
-6
lines changed

4 files changed

+188
-6
lines changed

site/data/3.10/allMetrics.yaml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3786,6 +3786,25 @@
37863786
The number of worker threads currently working on some job or spinning while
37873787
waiting for new work (i.e., not sleeping).
37883788
3789+
- name: arangodb_scheduler_num_detached_threads
3790+
introducedIn: "3.10.13"
3791+
help: |
3792+
Current number of detached worker threads.
3793+
unit: number
3794+
type: gauge
3795+
category: Scheduler
3796+
complexity: simple
3797+
exposedBy:
3798+
- coordinator
3799+
- dbserver
3800+
- agent
3801+
- single
3802+
description: |
3803+
The number of worker threads currently started and detached from the
3804+
scheduler. Worker threads which perform potentially long running
3805+
tasks like waiting for a lock can detach themselves from the scheduler
3806+
to allow new scheduler threads to be started and avoid server blockage.
3807+
37893808
- name: arangodb_scheduler_num_worker_threads
37903809
introducedIn: "3.6.7"
37913810
help: |
@@ -3800,8 +3819,9 @@
38003819
- agent
38013820
- single
38023821
description: |
3803-
The number of worker threads currently started. Worker threads can be started
3804-
and stopped dynamically based on the server load.
3822+
The number of worker threads currently started. This includes detached
3823+
worker threads. Worker threads can be started and stopped dynamically
3824+
based on the server load.
38053825
38063826
- name: arangodb_scheduler_num_working_threads
38073827
introducedIn: "3.6.10"

site/data/3.10/arangod.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12087,6 +12087,40 @@
1208712087
"section" : "server",
1208812088
"type" : "uint32"
1208912089
},
12090+
"server.max-number-detached-threads" : {
12091+
"base" : 1,
12092+
"category" : "option",
12093+
"component" : [
12094+
"coordinator",
12095+
"dbserver",
12096+
"agent",
12097+
"single"
12098+
],
12099+
"default" : 1000,
12100+
"deprecatedIn" : null,
12101+
"description" : "The maximum number of detached scheduler threads.",
12102+
"dynamic" : false,
12103+
"enterpriseOnly" : false,
12104+
"experimental" : false,
12105+
"hidden" : true,
12106+
"introducedIn" : [
12107+
"v3.10.13"
12108+
],
12109+
"longDescription" : "If a scheduler thread performs a potentially long running operation like waiting for a lock, it can detach itself from the scheduler. This allows a new scheduler thread to be started and avoids blocking all threads with long-running operations, thereby avoiding deadlock situations. The default should normally be OK.",
12110+
"maxInclusive" : true,
12111+
"maxValue" : 18446744073709551615,
12112+
"minInclusive" : true,
12113+
"minValue" : 0,
12114+
"obsolete" : false,
12115+
"os" : [
12116+
"linux",
12117+
"macos",
12118+
"windows"
12119+
],
12120+
"requiresValue" : true,
12121+
"section" : "server",
12122+
"type" : "uint64"
12123+
},
1209012124
"server.maximal-queue-size" : {
1209112125
"base" : 1,
1209212126
"category" : "option",

site/data/3.10/errors.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,6 +1339,10 @@
13391339
text: "queue time violated"
13401340
desc: "Will be returned if a request with a queue time requirement is set and it cannot be fulfilled."
13411341
code: 21004
1342+
- name: ERROR_TOO_MANY_DETACHED_THREADS
1343+
text: "too many detached scheduler threads"
1344+
desc: "Will be returned if a scheduler thread tries to detach itself but there are already too many detached scheduler threads."
1345+
code: 21005
13421346
- group: Maintenance errors
13431347
- name: ERROR_ACTION_OPERATION_UNABORTABLE
13441348
text: "this maintenance action cannot be stopped"

site/data/3.12/arangod.json

Lines changed: 128 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10295,9 +10295,9 @@
1029510295
"agent",
1029610296
"single"
1029710297
],
10298-
"default" : 10,
10298+
"default" : 12,
1029910299
"deprecatedIn" : null,
10300-
"description" : "The maximum number of write buffers that build up in memory (default: number of column families + 2 = 9 write buffers). You can only increase the number.",
10300+
"description" : "The maximum number of write buffers that build up in memory (default: number of column families + 2 = 12 write buffers). You can only increase the number.",
1030110301
"dynamic" : false,
1030210302
"enterpriseOnly" : false,
1030310303
"experimental" : false,
@@ -10483,6 +10483,39 @@
1048310483
"section" : "rocksdb",
1048410484
"type" : "uint64"
1048510485
},
10486+
"rocksdb.max-write-buffer-number-mdi-prefixed" : {
10487+
"base" : 1,
10488+
"category" : "option",
10489+
"component" : [
10490+
"coordinator",
10491+
"dbserver",
10492+
"agent",
10493+
"single"
10494+
],
10495+
"default" : 0,
10496+
"deprecatedIn" : null,
10497+
"description" : "If non-zero, overrides the value of `--rocksdb.max-write-buffer-number` for the mdi-prefixed column family",
10498+
"dynamic" : false,
10499+
"enterpriseOnly" : false,
10500+
"experimental" : false,
10501+
"hidden" : true,
10502+
"introducedIn" : [
10503+
"v3.8.0"
10504+
],
10505+
"maxInclusive" : true,
10506+
"maxValue" : 18446744073709551615,
10507+
"minInclusive" : true,
10508+
"minValue" : 0,
10509+
"obsolete" : false,
10510+
"os" : [
10511+
"linux",
10512+
"macos",
10513+
"windows"
10514+
],
10515+
"requiresValue" : true,
10516+
"section" : "rocksdb",
10517+
"type" : "uint64"
10518+
},
1048610519
"rocksdb.max-write-buffer-number-primary" : {
1048710520
"base" : 1,
1048810521
"category" : "option",
@@ -10582,6 +10615,39 @@
1058210615
"section" : "rocksdb",
1058310616
"type" : "uint64"
1058410617
},
10618+
"rocksdb.max-write-buffer-number-zkd" : {
10619+
"base" : 1,
10620+
"category" : "option",
10621+
"component" : [
10622+
"coordinator",
10623+
"dbserver",
10624+
"agent",
10625+
"single"
10626+
],
10627+
"default" : 0,
10628+
"deprecatedIn" : null,
10629+
"description" : "If non-zero, overrides the value of `--rocksdb.max-write-buffer-number` for the zkd column family",
10630+
"dynamic" : false,
10631+
"enterpriseOnly" : false,
10632+
"experimental" : false,
10633+
"hidden" : true,
10634+
"introducedIn" : [
10635+
"v3.8.0"
10636+
],
10637+
"maxInclusive" : true,
10638+
"maxValue" : 18446744073709551615,
10639+
"minInclusive" : true,
10640+
"minValue" : 0,
10641+
"obsolete" : false,
10642+
"os" : [
10643+
"linux",
10644+
"macos",
10645+
"windows"
10646+
],
10647+
"requiresValue" : true,
10648+
"section" : "rocksdb",
10649+
"type" : "uint64"
10650+
},
1058510651
"rocksdb.max-write-buffer-size-to-maintain" : {
1058610652
"base" : 1,
1058710653
"category" : "option",
@@ -10946,6 +11012,35 @@
1094611012
"section" : "rocksdb",
1094711013
"type" : "boolean"
1094811014
},
11015+
"rocksdb.partition-files-for-mdi-index" : {
11016+
"category" : "option",
11017+
"component" : [
11018+
"dbserver",
11019+
"agent",
11020+
"single"
11021+
],
11022+
"default" : false,
11023+
"deprecatedIn" : null,
11024+
"description" : "If enabled, the index data for different mdi indexes will end up in different .sst files.",
11025+
"dynamic" : false,
11026+
"enterpriseOnly" : false,
11027+
"experimental" : true,
11028+
"hidden" : true,
11029+
"introducedIn" : [
11030+
"v3.12.0"
11031+
],
11032+
"longDescription" : "Enabling this option will make RocksDB's\n compaction write the persistent index data for different mdi\n indexes (also indexes from different collections/shards) into different\n .sst files. Otherwise the persistent index data from different\n collections/shards/indexes can be mixed and written into the same .sst files.\n\n Enabling this option usually has the benefit of making the RocksDB\n compaction more efficient when a lot of different collections/shards/indexes\n are written to in parallel.\n The disavantage of enabling this option is that there can be more .sst\n files than when the option is turned off, and the disk space used by\n these .sst files can be higher than if there are fewer .sst files (this\n is because there is some per-.sst file overhead).\n In particular on deployments with many collections/shards/indexes\n this can lead to a very high number of .sst files, with the potential\n of outgrowing the maximum number of file descriptors the ArangoDB process\n can open. Thus the option should only be enabled on deployments with a\n limited number of edge collections/shards/indexes.",
11033+
"obsolete" : false,
11034+
"os" : [
11035+
"linux",
11036+
"macos",
11037+
"windows"
11038+
],
11039+
"required" : false,
11040+
"requiresValue" : false,
11041+
"section" : "rocksdb",
11042+
"type" : "boolean"
11043+
},
1094911044
"rocksdb.partition-files-for-persistent-index" : {
1095011045
"category" : "option",
1095111046
"component" : [
@@ -12390,13 +12485,13 @@
1239012485
"tcp://0.0.0.0:8529"
1239112486
],
1239212487
"deprecatedIn" : null,
12393-
"description" : "Endpoint for client requests (e.g. `http+tcp://127.0.0.1:8529`, or `vst+ssl://192.168.1.1:8529`)",
12488+
"description" : "Endpoint for client requests (e.g. `http://127.0.0.1:8529`, or `https://192.168.1.1:8529`)",
1239412489
"dynamic" : false,
1239512490
"enterpriseOnly" : false,
1239612491
"experimental" : false,
1239712492
"hidden" : false,
1239812493
"introducedIn" : null,
12399-
"longDescription" : "You can specify this option multiple times to let\nthe ArangoDB server listen for incoming requests on multiple endpoints.\n\nThe endpoints are normally specified either in ArangoDB's configuration file or\non the command-line with `--server.endpoint`. ArangoDB supports different types\nof endpoints:\n\n- `tcp://ipv4-address:port` - TCP/IP endpoint, using IPv4\n- `tcp://[ipv6-address]:port` - TCP/IP endpoint, using IPv6\n- `ssl://ipv4-address:port` - TCP/IP endpoint, using IPv4, SSL encryption\n- `ssl://[ipv6-address]:port` - TCP/IP endpoint, using IPv6, SSL encryption\n- `unix:///path/to/socket` - Unix domain socket endpoint\n\nIf a TCP/IP endpoint is specified without a port number, then the default port\n(8529) is used.\n\nIf you use SSL-encrypted endpoints, you must also supply the path to a server\ncertificate using the `--ssl.keyfile` option.\n\n```bash\narangod --server.endpoint tcp://127.0.0.1:8529 \\\n --server.endpoint ssl://127.0.0.1:8530 \\\n --ssl.keyfile server.pem /tmp/data-dir\n\n2022-11-07T10:39:29Z [1] INFO [e52b0] {general} ArangoDB 3.10.0 [linux] 64bit, using jemalloc, build tags/v3.10.0-0-g207ec6937e4, VPack 0.1.36, RocksDB 7.2.0, ICU 64.2, V8 7.9.317, OpenSSL 1.1.1q 5 Jul 2022\n2022-11-07T10:39:29Z [1] INFO [75ddc] {general} detected operating system: Linux version 4.15.0-140-generic (buildd@lgw01-amd64-054) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #144-Ubuntu SMP Fri Mar 19 14:12:35 UTC 2021\n2022-11-07T10:39:29Z [1] INFO [25362] {memory} Available physical memory: 67513589760 bytes, available cores: 32\n2022-11-07T10:39:29Z [1] INFO [a1c60] {syscall} file-descriptors (nofiles) hard limit is 1048576, soft limit is 1048576\n2022-11-07T10:39:29Z [1] INFO [3bb7d] {cluster} Starting up with role SINGLE\n2022-11-07T10:39:29Z [1] INFO [f6e0e] {aql} memory limit per AQL query automatically set to 40508153856 bytes. to modify this value, please adjust the startup option `--query.memory-limit`\n2022-11-07T10:39:30Z [1] INFO [fe333] {engines} RocksDB recovery starting, scanning WAL starting from sequence number 91, latest sequence number: 202, files in archive: 0\n2022-11-07T10:39:30Z [1] INFO [a4ec8] {engines} RocksDB recovery finished, WAL entries scanned: 116, recovery start sequence number: 91, latest WAL sequence number: 202, max tick value found in WAL: 24, last HLC value found in WAL: 1748833470939922432\n2022-11-07T10:39:30Z [1] INFO [c1b63] {arangosearch} ArangoSearch maintenance: [5..5] commit thread(s), [5..5] consolidation thread(s)\n2022-11-07T10:39:30Z [1] INFO [6ea38] {general} using endpoint 'http+ssl://0.0.0.0:8530' for ssl-encrypted requests\n2022-11-07T10:39:30Z [1] INFO [6ea38] {general} using endpoint 'http+tcp://0.0.0.0:8529' for non-encrypted requests\n2022-11-07T10:39:31Z [1] INFO [cf3f4] {general} ArangoDB (version 3.10.0 [linux]) is ready for business. Have fun!\n```\n\nOn one specific ethernet interface, each port can only be bound\n**exactly once**. You can look up your available interfaces using the `ifconfig`\ncommand on Linux / macOS, and `ipconfig` on Windows. The general names of the\ninterfaces differ between operating systems and the hardware they run on.\nHowever, every host has typically a so called loopback interface, which is a\nvirtual interface. By convention, it always has the address `127.0.0.1` (IPv4)\nor `::1` (IPv6), and can only be reached from the very same host. Ethernet\ninterfaces usually have names like `eth0`, `wlan0`, `eth1:17`, `le0`, or a\nplain text name in Windows.\n\nTo find out which services already use ports (so ArangoDB can't bind them\nanymore), you can use the `netstat` command. It behaves a little different on\neach platform; run it with `-lnpt` on Linux, `-p tcp` on macOS, or with `-an`\non Windows for valuable information.\n\nArangoDB can also do a so called *broadcast bind* using `tcp://0.0.0.0:8529`.\nThis way, it is reachable on all interfaces of the host. This may be useful on\ndevelopment systems that frequently change their network setup, like laptops.\n\nArangoDB can also listen to IPv6 link-local addresses via adding the zone ID\nto the IPv6 address in the form `[ipv6-link-local-address%zone-id]`. However,\nwhat you probably want instead is to bind to a local IPv6 address. Local IPv6\naddresses start with `fd`. If you only see a `fe80:` IPv6 address in your\ninterface configuration but no IPv6 address starting with `fd`, your interface\nhas no local IPv6 address assigned. You can read more about IPv6 link-local\naddresses here: https://en.wikipedia.org/wiki/Link-local_address#IPv6.\n\nTo bind to a link-local and local IPv6 address, run `ifconfig` or equivalent\ncommand. The command lists all interfaces and assigned IP addresses. The\nlink-local address may be `fe80::6257:18ff:fe82:3ec6%eth0` (IPv6 address plus\ninterface name). A local IPv6 address may be `fd12:3456::789a`.\nTo bind ArangoDB to it, start `arangod` with\n`--server.endpoint tcp://[fe80::6257:18ff:fe82:3ec6%eth0]:8529`.\nYou can use `telnet` to test the connection.",
12494+
"longDescription" : "You can specify this option multiple times to let\nthe ArangoDB server listen for incoming requests on multiple endpoints.\n\nThe endpoints are normally specified either in ArangoDB's configuration file or\non the command-line with `--server.endpoint`. ArangoDB supports different types\nof endpoints:\n\n- `tcp://ipv4-address:port` - TCP/IP endpoint, using IPv4\n- `tcp://[ipv6-address]:port` - TCP/IP endpoint, using IPv6\n- `ssl://ipv4-address:port` - TCP/IP endpoint, using IPv4, SSL encryption\n- `ssl://[ipv6-address]:port` - TCP/IP endpoint, using IPv6, SSL encryption\n- `unix:///path/to/socket` - Unix domain socket endpoint\n\nYou can use `http://` as an alias for `tcp://`, and `https://` as an alias for\n`ssl://`.\n\nIf a TCP/IP endpoint is specified without a port number, then the default port\n(8529) is used.\n\nIf you use SSL-encrypted endpoints, you must also supply the path to a server\ncertificate using the `--ssl.keyfile` option.\n\n```bash\narangod --server.endpoint tcp://127.0.0.1:8529 \\\n --server.endpoint ssl://127.0.0.1:8530 \\\n --ssl.keyfile server.pem /tmp/data-dir\n\n...\n2022-11-07T10:39:30Z [1] INFO [6ea38] {general} using endpoint 'http+ssl://0.0.0.0:8530' for ssl-encrypted requests\n2022-11-07T10:39:30Z [1] INFO [6ea38] {general} using endpoint 'http+tcp://0.0.0.0:8529' for non-encrypted requests\n2022-11-07T10:39:31Z [1] INFO [cf3f4] {general} ArangoDB (version 3.10.0 [linux]) is ready for business. Have fun!\n```\n\nOn one specific ethernet interface, each port can only be bound\n**exactly once**. You can look up your available interfaces using the `ifconfig`\ncommand on Linux / macOS, and `ipconfig` on Windows. The general names of the\ninterfaces differ between operating systems and the hardware they run on.\nHowever, every host has typically a so called loopback interface, which is a\nvirtual interface. By convention, it always has the address `127.0.0.1` (IPv4)\nor `::1` (IPv6), and can only be reached from the very same host. Ethernet\ninterfaces usually have names like `eth0`, `wlan0`, `eth1:17`, `le0`, or a\nplain text name in Windows.\n\nTo find out which services already use ports (so ArangoDB can't bind them\nanymore), you can use the `netstat` command. It behaves a little different on\neach platform; run it with `-lnpt` on Linux, `-p tcp` on macOS, or with `-an`\non Windows for valuable information.\n\nArangoDB can also do a so called *broadcast bind* using `tcp://0.0.0.0:8529`.\nThis way, it is reachable on all interfaces of the host. This may be useful on\ndevelopment systems that frequently change their network setup, like laptops.\n\nArangoDB can also listen to IPv6 link-local addresses via adding the zone ID\nto the IPv6 address in the form `[ipv6-link-local-address%zone-id]`. However,\nwhat you probably want instead is to bind to a local IPv6 address. Local IPv6\naddresses start with `fd`. If you only see a `fe80:` IPv6 address in your\ninterface configuration but no IPv6 address starting with `fd`, your interface\nhas no local IPv6 address assigned. You can read more about IPv6 link-local\naddresses here: https://en.wikipedia.org/wiki/Link-local_address#IPv6.\n\nTo bind to a link-local and local IPv6 address, run `ifconfig` or equivalent\ncommand. The command lists all interfaces and assigned IP addresses. The\nlink-local address may be `fe80::6257:18ff:fe82:3ec6%eth0` (IPv6 address plus\ninterface name). A local IPv6 address may be `fd12:3456::789a`.\nTo bind ArangoDB to it, start `arangod` with\n`--server.endpoint tcp://[fe80::6257:18ff:fe82:3ec6%eth0]:8529`.\nYou can use `telnet` to test the connection.",
1240012495
"obsolete" : false,
1240112496
"os" : [
1240212497
"linux",
@@ -12962,6 +13057,35 @@
1296213057
"section" : "server",
1296313058
"type" : "double"
1296413059
},
13060+
"server.options-api" : {
13061+
"category" : "option",
13062+
"component" : [
13063+
"coordinator",
13064+
"dbserver",
13065+
"agent",
13066+
"single"
13067+
],
13068+
"default" : "jwt",
13069+
"deprecatedIn" : null,
13070+
"description" : "The policy for exposing the options API.",
13071+
"dynamic" : false,
13072+
"enterpriseOnly" : false,
13073+
"experimental" : false,
13074+
"hidden" : false,
13075+
"introducedIn" : [
13076+
"v3.12.0"
13077+
],
13078+
"obsolete" : false,
13079+
"os" : [
13080+
"linux",
13081+
"macos",
13082+
"windows"
13083+
],
13084+
"requiresValue" : true,
13085+
"section" : "server",
13086+
"type" : "string",
13087+
"values" : "Possible values: \"admin\", \"disabled\", \"jwt\", \"public\""
13088+
},
1296513089
"server.prio1-size" : {
1296613090
"base" : 1,
1296713091
"category" : "option",

0 commit comments

Comments
 (0)