Max Neunhoeffer
e50a705d9a
Squashed commit of the following: organise locking in distributed AQL
...
Locking is now done in an extra round after the query is fully
instanciated in the cluster. All participating shards are locked
in alphabetical order of their shard ID (local collection name).
For this to work there is a new action in the RestAqlHandler plus a
mechanism to prevent the usual locking from happening: Each thread has a
thread local static class variable of
triagens::arango::Transaction::_makeNolockHeaders
which is of type std::unordered_set<std::string>*.
Whenever this is not equal to nullptr and a local collection name is
stored in there, no locking or unlocking takes place. This information
is forwarded by the X-Arango-Nolock HTTP header, whenever an HTTP
request is sent via ClusterComm to a shard.
2014-12-22 14:40:22 +01:00
Jan Steemann
fd5a723f30
removed deprecated methods
2014-12-19 14:00:58 +01:00
Jan Steemann
20e7fe7a7a
the great rename: array => object, list => array
2014-12-18 21:07:06 +01:00
Jan Steemann
04bcf3f362
issue #1184 : use error codes more consistently
2014-12-15 16:22:18 +01:00
Jan Steemann
4b12897026
issue #1184 : return error codes more consistently
2014-12-15 16:18:49 +01:00
Tomas Bosak
32bc422ad5
Improve edge API docs.
...
- create edge operation with 202 result is returned when waitForSync was
set to false
- add missing If-None-Match header parameter description to read head
operation
- add information about _key attribute in result for replace, update and
delete operations
2014-12-12 17:33:30 +01:00
Tomas Bosak
953d5efa7a
Add 'mergeObjects' description to edge API docs.
...
Description of 'mergeObjects' parameter was missing in edge update
(PATCH) operation.
2014-12-10 23:24:32 +01:00
Tomas Bosak
d0b041842a
Update document API description.
...
Include information about _key attribute which is also returned along
with _id and _rev for replace, update and delete document operations.
2014-12-09 10:50:06 +01:00
Jan Steemann
12c155636a
updated docs for mergeObjects
2014-12-08 11:00:31 +01:00
Jan Steemann
d9a945e33a
include or exclude system collections from replication
2014-12-05 14:58:43 +01:00
Tomas Bosak
259c3152cd
Fix typo and add '_key' attribute description.
2014-12-04 17:57:13 +01:00
Alan Plum
41ab3aa4d6
Renamed mergeArrays->mergeObjects to make API less confusing.
2014-12-02 17:03:03 +01:00
Jan Steemann
ac36c0cd7a
added mergeArrays attribute
2014-11-28 13:58:49 +01:00
Jan Steemann
13d240384f
less namespace pollution
2014-10-28 00:24:37 +01:00
Jan Steemann
223820eba3
removed some macros
2014-10-16 16:31:49 +02:00
Jan Steemann
dcb9427b6f
rewrote transaction contexts
2014-10-16 15:53:28 +02:00
Jan Steemann
8294e54f32
faster import
2014-10-08 17:01:45 +02:00
Jan Steemann
d8934a025f
make parseDocumentId more strict again
2014-10-03 01:23:07 +02:00
Jan Steemann
7a4c8f69db
speed up parseDocumentId
2014-10-03 00:49:46 +02:00
Jan Steemann
f8cf3d1951
fixed memleak
2014-10-01 12:21:37 +02:00
Jan Steemann
f3186fa065
cppcheck
2014-09-29 17:02:40 +02:00
Jan Steemann
db0fdf24ec
less string operations during batch request header parsing
2014-09-29 13:56:45 +02:00
Max Neunhoeffer
046d4f524d
Implement getSome for RemoteBlock.
2014-09-26 16:19:25 +02:00
Max Neunhoeffer
0466873092
First step towards correct setup of HTTP API for AQL.
2014-09-19 13:14:19 +02:00
Jan Steemann
506936dcdb
rename orgy
2014-09-13 02:35:13 +02:00
Jan Steemann
953b8cdfe3
renamed files
2014-09-13 00:34:48 +02:00
Jan Steemann
0dc0bc834f
more files renamed
2014-09-13 00:20:30 +02:00
Jan Steemann
87afcf5e8d
the great rename
2014-09-13 00:10:11 +02:00
Jan Steemann
aadd0f9254
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/Utils/CollectionNameResolver.h
arangod/V8Server/v8-vocbase.cpp
2014-08-30 17:35:08 +02:00
Jan Steemann
c0463a1797
added `type` option for `GET /_api/document?collection=...`
...
Conflicts:
CHANGELOG
2014-08-30 17:26:24 +02:00
Jan Steemann
86bf8e3c4f
removed unused function argument
2014-08-23 00:50:37 +02:00
Jan Steemann
0a439474e5
cppcheck
2014-08-22 12:51:26 +02:00
Jan Steemann
97fd5a55ba
renamed variable
2014-08-15 18:12:58 +02:00
Max Neunhoeffer
28f0d7be05
Sort out TRI_CompareValuesJson to use UTF8 on demand.
2014-08-13 14:22:05 +02:00
Michael Hackstein
a5b35f224a
Fixed REST API documentation. Some values were not recognized as paramters by swagger script
2014-08-07 14:52:55 +02:00
Max Neunhoeffer
4e95044faa
Hand on --force option of arangorestore.
2014-07-10 14:34:21 +02:00
Max Neunhoeffer
4f88753ea5
Improve error handling in arangorestore.
...
In particular:
- Notice if collections mentioned in _from and _to fields of edges
do not exist.
- In cluster case make the coordinator report errors from the
DBservers better.
- Fail more quickly if arangorestore does not go well.
2014-07-10 14:06:26 +02:00
Thomas Schmidts
c2fa9cb091
Erased useless @startDocuBlocks
2014-07-08 11:16:56 +02:00
Jan Steemann
fcadb40af6
updated replication documentation
2014-07-06 15:59:52 +02:00
Jan Steemann
a5cf53d417
fixed examples
2014-07-01 16:48:47 +02:00
Max Neunhoeffer
b2f7793c26
Let DBservers report the cluster-wide collection name instead of the
...
shard name in error messages for single document operations.
2014-07-01 15:55:41 +02:00
Thomas Schmidts
9e2a538096
Changed API documentation in code
2014-06-30 17:29:15 +02:00
Thomas Schmidts
d9b733b997
Fixes some documentation pages for API. fixes #922
2014-06-30 14:22:17 +02:00
Jan Steemann
57b5cde21e
nullptr
2014-06-27 23:58:13 +02:00
Jan Steemann
067dbf63b2
WAL recovery
2014-06-27 19:11:41 +02:00
Jan Steemann
07d244488d
changed crud signatures
2014-06-26 12:37:01 +02:00
Jan Steemann
66ffe61a76
renamed enum values
2014-06-24 17:32:43 +02:00
Jan Steemann
97e36a7eb0
fixed examples
2014-06-24 11:26:51 +02:00
Jan Steemann
cc041c4851
typecasts
2014-06-24 08:20:35 +02:00
Jan Steemann
d56719ae4d
simplification of signatures
2014-06-24 00:32:40 +02:00