Skip to content

Commit c3748ef

Browse files
authored
Misc release notes and changes for 3.12, highlight Read from followers feature (#345)
* Projection optimizer rule changes * Shorten menu title * API changes, formatting * DOC-597 | Improvement to Hot Backups * --log.max-queued-entries startup option * AQL operation title formatting * Add Read from followers in clusters to EE features * Sync release notes between versions * Adjustable Stream Transactions size * ArangoSearch file descriptor metric, headline tweak * Fix metric help string, add to API changes * Clarify CircleCI upstream references
1 parent 5d80222 commit c3748ef

File tree

23 files changed

+327
-36
lines changed

23 files changed

+327
-36
lines changed

CIRCLECI.md

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ arguments are invoked:
7575
| Parameter type | Name | Value |
7676
|:---------------|:-----|:------|
7777
| string | `workflow` | `generate` |
78-
| string | `arangodb-3_10` | `{string in PR Template at 3.10}` |
79-
| string | `arangodb-3_11` | `{string in PR Template at 3.11}` |
80-
| string | `arangodb-3_12` | `{string in PR Template at 3.12}` |
78+
| string | `arangodb-3_10` | [Upstream reference](#upstream-reference) for 3.10 |
79+
| string | `arangodb-3_11` | [Upstream reference](#upstream-reference) for 3.11 |
80+
| string | `arangodb-3_12` | [Upstream reference](#upstream-reference) for 3.12 |
8181
| string | `generators` | `examples` |
8282
| string | `deploy-url` | `deploy-preview-{PR_NUMBER}` |
8383

@@ -93,9 +93,9 @@ arguments are invoked:
9393
| Parameter type | Name | Value |
9494
|:---------------|:-----|:------|
9595
| string | `workflow` | `generate` |
96-
| string | `arangodb-3_10` | `{string in PR Template at 3.10}` |
97-
| string | `arangodb-3_11` | `{string in PR Template at 3.11}` |
98-
| string | `arangodb-3_12` | `{string in PR Template at 3.12}` |
96+
| string | `arangodb-3_10` | [Upstream reference](#upstream-reference) for 3.10 |
97+
| string | `arangodb-3_11` | [Upstream reference](#upstream-reference) for 3.11 |
98+
| string | `arangodb-3_12` | [Upstream reference](#upstream-reference) for 3.12 |
9999
| string | `generators` | `examples` |
100100
| string | `deploy-url` | `deploy-preview-{PR_NUMBER}` |
101101
| boolean | `commit-generated` | `true` |
@@ -121,13 +121,38 @@ or for multiple versions.
121121
| Parameter type | Name | Value |
122122
|:---------------|:-----|:------|
123123
| string | `workflow` | `generate` |
124-
| string | `arangodb-3_10` | `{string in PR Template at 3.10}` |
125-
| string | `arangodb-3_11` | `{string in PR Template at 3.11}` |
124+
| string | `arangodb-3_10` | [Upstream reference](#upstream-references) for 3.10 |
125+
| string | `arangodb-3_11` | [Upstream reference](#upstream-references) for 3.11 |
126126
| string | `generators` | `examples` |
127127
| boolean | `commit-generated` | `true` |
128128
| string | `deploy-url` | `deploy-preview-{PR_NUMBER}` |
129129
| string | `override` | `http,^aql.*` |
130130

131+
### Upstream references
132+
133+
Documentation pull requests specify upstream references like so:
134+
135+
```markdown
136+
- 3.10:
137+
- 3.11: https://github.com/arangodb/arangodb/pull/12345
138+
- 3.12: arangodb/enterprise-preview:devel-nightly
139+
```
140+
141+
The above example indicates that ArangoDB versions 3.11 and 3.12 contain changes
142+
relevant to the docs PR, but 3.10 does not. Relevant changes are typically
143+
behavior changes of _arangod_ that will be visible in documentation examples.
144+
145+
For 3.11, a link to a PR in the `arangodb/arangodb` repository is given. It is
146+
used by the GitHub integration to determine the feature branch to compile and
147+
use for generating examples. Do not specify a link when manually triggering a
148+
pipeline in CircleCI but the **branch name** (like `feature/new-aql-function`)!
149+
150+
For 3.12, an ArangoDB Enterprise Edition image hosted on
151+
[Docker Hub](https://hub.docker.com/) is specified. Using Docker images has the
152+
advantage that the compilation of ArangoDB can be skipped, making the example
153+
generation faster. Of course, this requires that an image containing relevant
154+
changes to ArangoDB exists.
155+
131156
## Release workflow for ArangoDB releases
132157

133158
To run a release job for a new ArangoDB patch release (e.g. 3.11.4),

site/content/3.10/about-arangodb/features/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ See all [Enterprise Edition Features](enterprise-edition.md).
6363
{{% /comment %}}
6464
| Only regular cluster deployments | **OneShard** deployment option to store all collections of a database on a single cluster node, to combine the performance of a single server and ACID semantics with a fault-tolerant cluster setup |
6565
| ACID transactions for multi-document / multi-collection queries on single servers, for single document operations in clusters, and for multi-document queries in clusters for collections with a single shard | In addition, ACID transactions for multi-collection queries using the OneShard feature |
66+
| Always read from leader shards in clusters | Optionally allow dirty reads to **read from followers** to scale reads |
6667
| TLS key and certificate rotation | In addition, **key rotation for JWT secrets** and **server name indication** (SNI) |
6768
| Built-in user management and authentication | Additional **LDAP authentication** option |
6869
| Only server logs | **Audit log** of server interactions |

site/content/3.10/about-arangodb/features/enterprise-edition.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ features outlined below. For additional information, see
6868
stored values, primary sort columns, and primary key columns in memory to
6969
improve the performance of Views and inverted indexes.
7070

71+
- [**Read from followers in clusters**](../../develop/http-api/documents.md#read-from-followers):
72+
Allow dirty reads so that Coordinators can read from any shard replica and not
73+
only from the leader, for scaling reads.
74+
7175
## Querying
7276

7377
- [**Pregel in Cluster**](../../data-science/pregel/_index.md#prerequisites):

site/content/3.10/about-arangodb/features/highlights-by-version.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ aliases:
6565
Optimized data loading for AQL traversal queries if only a few document
6666
attributes are accessed.
6767

68+
- [**Read from followers in clusters**](../../develop/http-api/documents.md#read-from-followers):
69+
Allow dirty reads so that Coordinators can read from any shard replica and not
70+
only from the leader, for scaling reads.
71+
6872
Also see [What's New in 3.10](../../release-notes/version-3.10/whats-new-in-3-10.md).
6973

7074
## Version 3.9

site/content/3.10/develop/transactions/stream-transactions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ on the Coordinator to ensure that abandoned transactions cannot block the
4545
cluster from operating properly:
4646

4747
- Maximum idle timeout of up to **120 seconds** between operations.
48-
- Maximum transaction size of **128 MB** per DB-Server.
48+
- Maximum transaction size of **128 MB** (per DB-Server in clusters).
4949

5050
These limits are also enforced for Stream Transactions on single servers.
5151

@@ -103,7 +103,7 @@ Additionally, `options` can have the following optional attributes:
103103
waiting on collection locks. This option is only meaningful when using
104104
`exclusive` locks. If not specified, a default value is used. Setting
105105
`lockTimeout` to `0` makes ArangoDB not time out waiting for a lock.
106-
- `maxTransactionSize`: Transaction size limit in bytes.
106+
- `maxTransactionSize`: Transaction size limit in bytes. Can be at most 128 MiB.
107107

108108
The method returns an object that lets you run supported operations as part of
109109
the transactions, get the status information, and commit or abort the transaction.

site/content/3.10/release-notes/version-3.10/whats-new-in-3-10.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,12 @@ that have copies of the data. Therefore, the read throughput is higher.
10481048

10491049
This feature is only available in the Enterprise Edition.
10501050

1051-
For more information, see [Read from followers](../../develop/http-api/documents.md#read-from-followers).
1051+
For more information, see [Read from followers](../../develop/http-api/documents.md#read-from-followers)
1052+
in the HTTP API documentation.
1053+
1054+
The JavaScript API supports an `allowDirtyReads` option for
1055+
[AQL queries](../../aql/how-to-invoke-aql/with-arangosh.md#allowdirtyreads) and
1056+
[reading documents](../../develop/javascript-api/@arangodb/collection-object.md#collectiondocumentobject--options).
10521057

10531058
## Improved shard rebalancing
10541059

site/content/3.11/about-arangodb/features/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ See all [Enterprise Edition Features](enterprise-edition.md).
6363
{{% /comment %}}
6464
| Only regular cluster deployments | **OneShard** deployment option to store all collections of a database on a single cluster node, to combine the performance of a single server and ACID semantics with a fault-tolerant cluster setup |
6565
| ACID transactions for multi-document / multi-collection queries on single servers, for single document operations in clusters, and for multi-document queries in clusters for collections with a single shard | In addition, ACID transactions for multi-collection queries using the OneShard feature |
66+
| Always read from leader shards in clusters | Optionally allow dirty reads to **read from followers** to scale reads |
6667
| TLS key and certificate rotation | In addition, **key rotation for JWT secrets** and **server name indication** (SNI) |
6768
| Built-in user management and authentication | Additional **LDAP authentication** option |
6869
| Only server logs | **Audit log** of server interactions |

site/content/3.11/about-arangodb/features/enterprise-edition.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ features outlined below. For additional information, see
6868
stored values, primary sort columns, and primary key columns in memory to
6969
improve the performance of Views and inverted indexes.
7070

71+
- [**Read from followers in clusters**](../../develop/http-api/documents.md#read-from-followers):
72+
Allow dirty reads so that Coordinators can read from any shard replica and not
73+
only from the leader, for scaling reads.
74+
7175
## Querying
7276

7377
- [**Pregel in Cluster**](../../data-science/pregel/_index.md#prerequisites):

site/content/3.11/about-arangodb/features/highlights-by-version.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ Also see [What's New in 3.11](../../release-notes/version-3.11/whats-new-in-3-11
9191
Optimized data loading for AQL traversal queries if only a few document
9292
attributes are accessed.
9393

94+
- [**Read from followers in clusters**](../../develop/http-api/documents.md#read-from-followers):
95+
Allow dirty reads so that Coordinators can read from any shard replica and not
96+
only from the leader, for scaling reads.
97+
9498
Also see [What's New in 3.10](../../release-notes/version-3.10/whats-new-in-3-10.md).
9599

96100
## Version 3.9

site/content/3.11/develop/transactions/stream-transactions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ on the Coordinator to ensure that abandoned transactions cannot block the
4545
cluster from operating properly:
4646

4747
- Maximum idle timeout of up to **120 seconds** between operations.
48-
- Maximum transaction size of **128 MB** per DB-Server.
48+
- Maximum transaction size of **128 MB** (per DB-Server in clusters).
4949

5050
These limits are also enforced for Stream Transactions on single servers.
5151

@@ -103,7 +103,7 @@ Additionally, `options` can have the following optional attributes:
103103
waiting on collection locks. This option is only meaningful when using
104104
`exclusive` locks. If not specified, a default value is used. Setting
105105
`lockTimeout` to `0` makes ArangoDB not time out waiting for a lock.
106-
- `maxTransactionSize`: Transaction size limit in bytes.
106+
- `maxTransactionSize`: Transaction size limit in bytes. Can be at most 128 MiB.
107107

108108
The method returns an object that lets you run supported operations as part of
109109
the transactions, get the status information, and commit or abort the transaction.

0 commit comments

Comments
 (0)