8000 release version 2.5.1 · cloud-coders/arangodb@f2c2944 · GitHub
[go: up one dir, main page]

Skip to content

Commit f2c2944

Browse files
committed
release version 2.5.1
1 parent 255f77b commit f2c2944

File tree

309 files changed

+2774
-2503
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

309 files changed

+2774
-2503
lines changed

CHANGELOG

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,61 @@
1-
v2.5.1 (XXXX-XX-XX)
1+
v2.5.1 (2015-03-19)
22
-------------------
33

4+
* added option `--database.ignore-logfile-errors`
5+
6+
This option controls how collection datafiles with a CRC mismatch are treated.
7+
8+
If set to `false`, CRC mismatch errors in collection datafiles will lead
9+
to a collection not being loaded at all. If a collection needs to be loaded
10+
during WAL recovery, the WAL recovery will also abort (if not forced with
11+
`--wal.ignore-recovery-errors true`). Setting this flag to `false` protects
12+
users from unintentionally using a collection with corrupted datafiles, from
13+
which only a subset of the original data can be recovered.
14+
15+
If set to `true`, CRC mismatch errors in collection datafiles will lead to
16+
the datafile being partially loaded. All data up to until the mismatch will
17+
be loaded. This will enable users to continue with a collection datafiles
18+
that are corrupted, but will result in only a partial load of the data.
19+
The WAL recovery will still abort when encountering a collection with a
20+
corrupted datafile, at least if `--wal.ignore-recovery-errors` is not set to
21+
`true`.
22+
23+
The default value is *true*, so for collections with corrupted datafiles
24+
there might be partial data loads once the WAL recovery has finished. If
25+
the WAL recovery will need to load a collection with a corrupted datafile,
26+
it will still stop when using the default values.
27+
28+
* INCOMPATIBLE CHANGE:
29+
30+
make the arangod server refuse to start if during startup it finds a non-readable
31+
`parameter.json` file for a database or a collection.
32+
33+
Stopping the startup process in this case requires manual intervention (fixing
34+
the unreadable files), but prevents follow-up errors due to ignored databases or
35+
collections from happening.
36+
37+
* datafiles and `parameter.json` files written by arangod are now created with read and write
38+
privileges for the arangod process user, and with read and write prileges for the arangod
39+
process group.
40+
41+
Previously, these files were created with user read and write permissions only.
42+
43+
* INCOMPATIBLE CHANGE:
44+
45+
abort WAL recovery if one of the collection's datafiles cannot be opened
46+
47+
* INCOMPATIBLE CHANGE:
48+
49+
never try to raise the privileges after dropping them, this can lead to a race condition while
50+
running the recovery
51+
52+
If you require to run ArangoDB on a port lower than 1024, you must run ArangoDB as root.
53+
54+
* fixed inefficiencies in `remove` methods of general-graph module
55+
56+
* added option `--database.slow-query-threshold` for controlling the default AQL slow query
57+
threshold value on server start
58+
459
* add system error strings for windows on many places
560

661
* rework service startup so we anounce 'RUNNING' only when we're finished starting.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
arangosh> col = db.example;
2-
[ArangoCollection 953138371, "example" (type document, status loaded)]
2+
[ArangoCollection 955654501, "example" (type document, status loaded)]
33
arangosh> col.unload();
44
arangosh> col;
5-
[ArangoCollection 953138371, "example" (type document, status unloaded)]
5+
[ArangoCollection 955654501, "example" (type document, status unloaded)]

Documentation/Examples/HttpGharialAddEdge.generated

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial
77

88
HTTP/1.1 202 Accepted
99
content-type: application/json
10-
etag: 1494990019
10+
etag: 1499144549
1111

1212
{
1313
"error" : false,
1414
"code" : 202,
1515
"edge" : {
16-
"_id" : "relation/1494990019",
17-
"_rev" : "1494990019",
18-
"_key" : "1494990019"
16+
"_id" : "relation/1499144549",
17+
"_rev" : "1499144549",
18+
"_key" : "1499144549"
1919
}
2020
}

Documentation/Examples/HttpGharialAddEdgeCol.generated

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial
1212

1313
HTTP/1.1 201 Created
1414
content-type: application/json
15-
etag: 1455602883
15+
etag: 1459888485
1616

1717
{
1818
"error" : false,
@@ -44,6 +44,6 @@ etag: 1455602883
4444
],
4545
"orphanCollections" : [ ],
4646
"_id" : "_graphs/social",
47-
"_rev" : "1455602883"
47+
"_rev" : "1459888485"
4848
}
4949
}

Documentation/Examples/HttpGharialAddVertex.generated

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial
55

66
HTTP/1.1 202 Accepted
77
content-type: application/json
8-
etag: 1472380099
8+
etag: 1476665701
99

1010
{
1111
"error" : false,
1212
"code" : 202,
1313
"vertex" : {
14-
"_id" : "male/1472380099",
15-
"_rev" : "1472380099",
16-
"_key" : "1472380099"
14+
"_id" : "male/1476665701",
15+
"_rev" : "1476665701",
16+
"_key" : "1476665701"
1717
}
1818
}

Documentation/Examples/HttpGharialAddVertexCol.generated

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial
55

66
HTTP/1.1 201 Created
77
content-type: application/json
8-
etag: 1438301379
8+
etag: 1442521445
99

1010
{
1111
"error" : false,
@@ -29,6 +29,6 @@ etag: 1438301379
2929
"otherVertices"
3030
],
3131
"_id" : "_graphs/social",
32-
"_rev" : "1438301379"
32+
"_rev" : "1442521445"
3333
}
3434
}

Documentation/Examples/HttpGharialCreate.generated

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial
1616

1717
HTTP/1.1 201 Created
1818
content-type: application/json
19-
etag: 1426046147
19+
etag: 1430266213
2020

2121
{
2222
"error" : false,
@@ -36,6 +36,6 @@ etag: 1426046147
3636
],
3737
"orphanCollections" : [ ],
3838
"_id" : "_graphs/myGraph",
39-
"_rev" : "1426046147"
39+
"_rev" : "1430266213"
4040
}
4141
}

Documentation/Examples/HttpGharialEdgeDefinitionRemove.generated

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/ghari
22

33
HTTP/1.1 200 OK
44
content-type: application/json
5-
etag: 1465564355
5+
etag: 1469849957
66

77
{
88
"error" : false,
@@ -15,6 +15,6 @@ etag: 1465564355
1515
"male"
1616
],
1717
"_id" : "_graphs/social",
18-
"_rev" : "1465564355"
18+
"_rev" : "1469849957"
1919
}
2020
}

Documentation/Examples/HttpGharialGetEdge.generated

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ shell> curl --data-binary @- --dump - http://localhost:8529/_api/gharial/social/
22

33
HTTP/1.1 200 OK
44
content-type: application/json
5-
etag: 1498004675
5+
etag: 1502159205
66

77
{
88
"error" : false,
99
"code" : 200,
1010
"edge" : {
1111
"_id" : "relation/aliceAndBob",
1212
"_key" : "aliceAndBob",
13-
"_rev" : "1498004675",
13+
"_rev" : "1502159205",
1414
"_from" : "female/alice",
1515
"_to" : "male/bob",
1616
"type" : "married"

Documentation/Examples/HttpGharialGetGraph.generated

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ shell> curl --data-binary @- --dump - http://localhost:8529/_api/gharial/myGraph
22

33
HTTP/1.1 200 OK
44
content-type: application/json
5-
etag: 1427684547
5+
etag: 1431970149
66

77
{
88
"error" : false,
@@ -22,6 +22,6 @@ etag: 1427684547
2222
],
2323
"orphanCollections" : [ ],
2424
"_id" : "_graphs/myGraph",
25-
"_rev" : "1427684547"
25+
"_rev" : "1431970149"
2626
}
2727
}

Documentation/Examples/HttpGharialGetVertex.generated

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ shell> curl --data-binary @- --dump - http://localhost:8529/_api/gharial/social/
22

33
HTTP/1.1 200 OK
44
content-type: application/json
5-
etag: 1474346179
5+
etag: 1478631781
66

77
{
88
"error" : false,
99
"code" : 200,
1010
"vertex" : {
1111
"_id" : "female/alice",
1212
"_key" : "alice",
13-
"_rev" : "1474346179",
13+
"_rev" : "1478631781",
1414
"name" : "Alice"
1515
}
1616
}

Documentation/Examples/HttpGharialList.generated

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ content-type: application/json
1010
{
1111
"_id" : "_graphs/social",
1212
"_key" : "social",
13-
"_rev" : "1405140163",
13+
"_rev" : "1407787365",
1414
"edgeDefinitions" : [
1515
{
1616
"collection" : "relation",
@@ -29,7 +29,7 @@ content-type: application/json
2929
{
3030
"_id" : "_graphs/routeplanner",
3131
"_key" : "routeplanner",
32-
"_rev" : "1409531075",
32+
"_rev" : "1412112741",
3333
"orphanCollections" : [ ],
3434
"edgeDefinitions" : [
3535
{

Documentation/Examples/HttpGharialModifyVertex.generated

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/gharia
55

66
HTTP/1.1 202 Accepted
77
content-type: application/json
8-
etag: 1485552835
8+
etag: 1489903973
99

1010
{
1111
"error" : false,
1212
"code" : 202,
1313
"vertex" : {
1414
"_id" : "female/alice",
15-
"_rev" : "1485552835",
16-
"_oldRev" : "1483062467",
15+
"_rev" : "1489903973",
16+
"_oldRev" : "1487413605",
1717
"_key" : "alice"
1818
}
1919
}

Documentation/Examples/HttpGharialPatchEdge.generated

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ shell> curl -X PATCH --data-binary @- --dump - http://localhost:8529/_api/gharia
55

66
HTTP/1.1 202 Accepted
77
content-type: application/json
8-
etag: 1507900611
8+
etag: 1512055141
99

1010
{
1111
"error" : false,
1212
"code" : 202,
1313
"edge" : {
1414
"_id" : "relation/aliceAndBob",
15-
"_rev" : "1507900611",
16-
"_oldRev" : "1506458819",
15+
"_rev" : "1512055141",
16+
"_oldRev" : "1510613349",
1717
"_key" : "aliceAndBob"
1818
}
1919
}

Documentation/Examples/HttpGharialPutEdge.generated

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/gharial/
55

66
HTTP/1.1 202 Accepted
77
content-type: application/json
8-
etag: 1503444163
8+
etag: 1507598693
99

1010
{
1111
"error" : false,
1212
"code" : 202,
1313
"edge" : {
1414
"_id" : "relation/aliceAndBob",
15-
"_rev" : "1503444163",
16-
"_oldRev" : "1502133443",
15+
"_rev" : "1507598693",
16+
"_oldRev" : "1506287973",
1717
"_key" : "aliceAndBob"
1818
}
1919
}

Documentation/Examples/HttpGharialRemoveVertexCollection.generated

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ shell> curl -X DELETE --data-binary @- --dump - http://localhost:8529/_api/ghari
22

33
HTTP/1.1 200 OK
44
content-type: application/json
5-
etag: 1445248195
5+
etag: 1449533797
66

77
{
88
"error" : false,
@@ -24,6 +24,6 @@ etag: 1445248195
2424
],
2525
"orphanCollections" : [ ],
2626
"_id" : "_graphs/social",
27-
"_rev" : "1445248195"
27+
"_rev" : "1449533797"
2828
}
2929
}

Documentation/Examples/HttpGharialReplaceEdgeCol.generated

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/gharial/
1515

1616
HTTP/1.1 200 OK
1717
content-type: application/json
18-
etag: 1460714691
18+
etag: 1465000293
1919

2020
{
2121
"error" : false,
@@ -39,6 +39,6 @@ etag: 1460714691
3939
],
4040
"orphanCollections" : [ ],
4141
"_id" : "_graphs/social",
42-
"_rev" : "1460714691"
42+
"_rev" : "1465000293"
4343
}
4444
}

Documentation/Examples/HttpGharialReplaceVertex.generated

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/gharial/
66

77
HTTP/1.1 202 Accepted
88
content-type: application/json
9-
etag: 1481030851
9+
etag: 1485316453
1010

1111
{
1212
"error" : false,
1313
"code" : 202,
1414
"vertex" : {
1515
"_id" : "female/alice",
16-
"_rev" : "1481030851",
17-
"_oldRev" : "1478540483",
16+
"_rev" : "1485316453",
17+
"_oldRev" : "1482826085",
1818
"_key" : "alice"
1919
}
2020
}

0 commit comments

Comments
 (0)
0