8000 DOC-546 | Deprecate / refuse server start with little-endian on-disk … · arangodb/docs@9efeada · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Commit 9efeada

Browse files
jsteemannSimran-B
andauthored
DOC-546 | Deprecate / refuse server start with little-endian on-disk format (#1465)
* documentation PR for arangodb/arangodb#19717 * Review * Fix link --------- Co-authored-by: Simran Spiller <simran@arangodb.com>
1 parent 0c18d3f commit 9efeada

File tree

3 files changed

+64
-1
lines changed

3 files changed

+64
-1
lines changed

3.11/appendix-deprecated.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,17 @@ See the [**Release notes**](release-notes.html) of the respective versions for
4141
detailed information about breaking changes before upgrading.
4242
{% endhint %}
4343

44-
- **Pregel features**:
44+
- **Little-endian on-disk key format for the RocksDB storage engine**:
45+
46+
The little-endian on-disk key format for the RocksDB storage engine is
47+
deprecated and support will be removed in v3.12. Parallel index creation and
48+
the `--use-experimental-dump` arangodump option are only available in v3.11
49+
for deployments that use the big-endian format, which is the default since v3.4.
4550

51+
Only deployments that were set up with the RocksDB storage engine using
52+
ArangoDB v3.2 or v3.3 and that have been upgraded since then are affected.
53+
54+
- **Pregel features**:
4655
The following features have been deprecated or removed from Pregel in v3.11:
4756

4857
- The experimental _Custom Pregel_ feature, also known as

3.12/appendix-deprecated.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,17 @@ detailed information about breaking changes before upgrading.
4545
The Standalone Agency deployment type and the corresponding Agency HTTP API
4646
are no longer available starting with v3.12.
4747

48+
- **Little-endian on-disk key format for the RocksDB storage engine**:
49+
50+
The little-endian on-disk key format for the RocksDB storage engine is
51+
deprecated and support is removed in v3.12.
52+
53+
Only deployments that were set up with the RocksDB storage engine using
54+
ArangoDB v3.2 or v3.3 and that have been upgraded since then are affected.
55+
56+
See [Incompatible changes in ArangoDB 3.12](release-notes-upgrading-changes312.html#little-endian-on-disk-key-format-for-the-rocksdb-storage-engine)
57+
for details.
58+
4859
- **Pregel features**:
4960

5061
The following features have been deprecated or removed from Pregel in v3.11:

3.12/release-notes-upgrading-changes312.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,49 @@ upgrading to ArangoDB 3.12, and adjust any client programs if necessary.
99

1010
The following incompatible changes have been made in ArangoDB 3.12:
1111

12+
## Little-endian on-disk key format for the RocksDB storage engine
13+
14+
ArangoDB 3.12 does not support the little-endian on-disk key for the RocksDB
15+
storage engine anymore.
16+
17+
The little-endian on-disk key format was used for deployments that were created
18+
with either ArangoDB 3.2 or 3.3 when using the RocksDB storage engine.
19+
Since ArangoDB 3.4, a big-endian on-disk key format is used for the RocksDB
20+
storage engine, which is more performant than the little-endian format.
21+
22+
Deployments that were set up with the RocksDB storage engine using ArangoDB 3.2
23+
or 3.3 and that have been upgraded since then still use the old format.
24+
This should not affect many users because the default storage engine in ArangoDB
25+
3.2 and 3.3 was the MMFiles storage engine.
26+
Furthermore, deployments that have been recreated from a dump using arangodump
27+
since ArangoDB 3.4 are not affected because restoring a dump into a fresh
28+
deployment also makes ArangoDB use the big-endian on-disk format.
29+
30+
ArangoDB 3.11 logs a warning message during startup when the little-endian
31+
on-disk format is in use, but it still supports using the little-endian key format
32+
for almost all operations, with the following exceptions:
33+
- Parallel index creation is disabled when the little-endian key format is used.
34+
Indexes are always created using a single thread.
35+
- The experimental version of arangodump (invocable via the `--use-experimental-dump`
36+
startup option) does not work. You can still use the traditional
37+
arangodump version, which is the default anyway.
38+
39+
ArangoDB 3.12 and later refuse to start when detecting that the little-endian
40+
on-disk is in use, so users that still use this format
41+
**must migrate to the big-endian on-disk key format before upgrading to 3.12**.
42+
43+
The migration can be performed as follows:
44+
45+
1. Create a full logical backup of the database using [arangodump](programs-arangodump.html)
46+
2. Stop the database servers in the deployment
47+
3. Wipe the existing database directories
48+
4. Restart the servers in the deployment
49+
5. Restore the logical dump into the deployment using arangodump
50+
51+
It is not sufficient to take a hot backup of a little-endian deployment and
52+
restore it because when restoring a hot backup, the original database format is
53+
restored as it was at time of the backup.
54+
1255
## In-memory cache subsystem
1356

1457
By default, the in-memory cache subsystem uses up to 95% of its configured

0 commit comments

Comments
 (0)
0