jsteemann
50c0e18d53
removed useless con|destructor comments
2016-01-07 21:19:53 +01:00
Jan Steemann
3ad20c0cae
auto-generated headers
2016-01-06 18:41:51 +01:00
Jan Steemann
a3b026d9d1
removed useless sections from code, unified include guards
2016-01-06 14:15:22 +01:00
Jan Steemann
f422576ee0
clang-format
2016-01-05 17:43:24 +01:00
Frank Celler
1065a1bd2c
added work monitor
2016-01-04 15:33:06 +01:00
CoDEmanX
3a9648d78a
More Americanization
2015-09-03 22:25:43 +02:00
Jan Steemann
afb342eefd
split big ExecutionBlock file into smaller files
2015-08-27 00:28:20 +02:00
Jan Steemann
d0bd94f4c5
fixed Json
2015-08-26 16:23:26 +02:00
Frank Celler
2d45445a10
added additional-threads option
2015-08-26 13:13:47 +02:00
Frank Celler
35a3c6421c
moved dispatcher to atomic
2015-07-23 15:40:34 +02:00
Max Neunhoeffer
2844f02a74
Mark blocking threads as such in two places to allow additional threads.
...
This fixes some cluster hang bugs in larger clusters.
2015-06-18 17:28:51 +02:00
Jan Steemann
8dbcf0e23f
Visual Studio adjustments
2015-04-30 11:46:55 +02:00
Frank Celler
ffbc45d2e2
new HttpServer & HttpCommTask
...
Conflicts:
Makefile.in
arangod/Aql/RestAqlHandler.cpp
arangod/Aql/grammar.cpp
arangod/Cluster/RestShardHandler.cpp
lib/GeneralServer/GeneralServer.h
lib/GeneralServer/GeneralServerDispatcher.h
lib/HttpServer/HttpServerJob.h
lib/HttpServer/HttpsCommTask.h
lib/SimpleHttpClient/SslClientConnection.cpp
2015-03-31 09:12:01 +02:00
Jan Steemann
925f4fbab6
cleanup of some static const variables
2015-03-30 21:43:55 +02:00
Frank Celler
4c5d57f1b8
merged Exceptions.h and Exception.h
2015-03-23 14:05:19 +01:00
Max Neunhoeffer
45903b0c79
Silence a few unnecessary error logs.
2015-01-30 15:24:34 +01:00
Max Neunhoeffer
05c069f361
Another fix for the distributed locking problem in cluster AQL.
2014-12-23 14:35:19 +01:00
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
20e7fe7a7a
the great rename: array => object, list => array
2014-12-18 21:07:06 +01:00
Jan Steemann
4ef82239a3
added optimizer statistics
2014-12-03 11:38:56 +01:00
Willi Goesgens
3cb7a2016d
Once we deleted a query from the registry we don't need to close it anymore.
2014-11-07 14:03:22 +01:00
Jan Steemann
e2cfa056c0
pass query warnings around in cluster
2014-11-01 16:36:58 +01:00
Max Neunhoeffer
e74e3ac8db
Fix a use after free in RestAqlHandler.
2014-10-30 14:58:34 +01:00
Max Neunhoeffer
59c1935466
Get rid of some TODOs and FIXMEs.
2014-10-29 11:25:30 +01:00
Willi Goesgens
249b89aa09
- Add statistics under all circumstances (also if the status is "exhausted")
...
- return statistics in all cases (empty statistics in doubt)
2014-10-23 16:39:14 +02:00
Jan Steemann
1dafc31f2d
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-10-22 19:06:03 +02:00
Jan Steemann
54a0f182e2
call shutdown using an errorCode
2014-10-22 19:01:56 +02:00
Willi Goesgens
9558f5aa0a
Implement passing of query statistics through cluster.
2014-10-22 17:36:23 +02:00
Jan Steemann
7f2373204a
fixed cloning of coordinator queries
2014-10-22 17:25:59 +02:00
Jan Steemann
d43e3f7127
fixed race conditions when multiple clients accessed the same coordinator query
2014-10-21 18:17:08 +02:00
James
470f4fcda5
adding distribute block to RestAqlHandler.
2014-10-21 12:11:11 +01:00
Jan Steemann
2617f3879c
fixed primary index usage in cluster
2014-10-21 12:50:06 +02:00
Jan Steemann
40e62e95a5
fixed out-of-scheduler-threads issue
2014-10-20 18:27:50 +02:00
Jan Steemann
bafdf8a332
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-10-20 15:40:03 +02:00
Jan Steemann
10c9a54932
start transactions on coordinator
2014-10-20 15:39:55 +02:00
Willi Goesgens
8856abeacc
Implement error-logging of RestAqlHandler
2014-10-20 14:49:44 +02:00
Jan Steemann
648274f30a
removed HTTP DELETE handler
2014-10-20 08:52:44 +02:00
Jan Steemann
3effea896c
fixed wrong error code
2014-10-17 15:30:55 +02:00
Max Neunhoeffer
de7c303c5d
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel
...
Conflicts:
arangod/Aql/Query.cpp
2014-10-17 15:26:50 +02:00
Max Neunhoeffer
cb75b0b18a
Sort out transactions in cluster, part I.
2014-10-17 15:25:46 +02:00
Jan Steemann
2b68d83072
added enterContext and exitContext to Query
2014-10-17 12:01:50 +02:00
Jan Steemann
0aa02a696b
pass ApplicationV8 to queries
2014-10-17 10:35:02 +02:00
Max Neunhoeffer
e4460501e7
Remove get context in RestAqlHandler.
2014-10-17 09:31:11 +02:00
Jan Steemann
dcb9427b6f
rewrote transaction contexts
2014-10-16 15:53:28 +02:00
Jan Steemann
7966c8d044
fixed compile warning
2014-10-09 10:52:08 +02:00
Jan Steemann
0f83d8132f
fixed some transaction threading errors
2014-10-06 18:39:01 +02:00
Jan Steemann
577593ed55
shutdown transactions
2014-10-06 11:23:39 +02:00
Jan Steemann
67873e5edd
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-10-02 10:34:33 +02:00
Jan Steemann
992bc5264b
debug output
2014-10-02 10:34:27 +02:00
Max Neunhoeffer
d021bcf720
Sort out shardId for ScatterBlock and HTTP API.
2014-10-02 10:24:47 +02:00
Max Neunhoeffer
a59d1e4448
Start to sort out ScatterBlock's special API.
2014-10-02 09:55:15 +02:00
Max Neunhoeffer
8a0d5c021a
Start adapting RestAqlHandler to ScatterBlock.
2014-10-02 00:34:32 +02:00
Jan Steemann
38d43a2fb3
print error message in cases AqlHandler fails
2014-10-01 17:47:43 +02:00
Jan Steemann
0d9cdfc87c
struct Index
2014-10-01 15:35:16 +02:00
Jan Steemann
49237ef55a
fixed some cluster internal communication
2014-10-01 14:06:00 +02:00
Jan Steemann
c4ce98a442
fixed some bugs in distributed plan instanciation
2014-09-30 15:19:44 +02:00
Jan Steemann
3a2e13b910
pass queryId to remote servers
2014-09-29 17:35:10 +02:00
Jan Steemann
0d075dca3f
pass queryRegistry into the AQL functions
2014-09-29 09:30:32 +02:00
Jan Steemann
f229253e24
fixed redundant if / else if
2014-09-26 21:26:26 +02:00
Max Neunhoeffer
dbed62392f
Implement skipSome method for RemoteBlock.
2014-09-26 16:30:30 +02:00
Max Neunhoeffer
865d513dd0
Add skipSome to HTTP API and to ExecutionEngine.
2014-09-26 16:18:47 +02:00
Max Neunhoeffer
95264a82ab
initializeCursor and shutdown methods for HTTP API for queries.
2014-09-26 14:50:52 +02:00
Max Neunhoeffer
f1483a4ea0
Optimize/debug HTTP API for queries and AqlItemBlock serialisation.
2014-09-25 11:47:50 +02:00
Max Neunhoeffer
9079ba3971
Finish HTTP API.
2014-09-25 00:14:57 +02:00
Max Neunhoeffer
f6b1e0060e
Expose AQL_PARSE via HTTP API under /_api/aql/parse
2014-09-25 00:01:07 +02:00
Max Neunhoeffer
bd02e70e41
Expose AQL_EXPLAIN via HTTP API under /_api/aql/explain.
2014-09-24 23:49:55 +02:00
Max Neunhoeffer
bfc8b14a87
More HTTP methods for queries. Expire queries.
2014-09-24 16:51:35 +02:00
Max Neunhoeffer
cf5e1be91e
Version version of HTTP API done.
2014-09-24 16:17:18 +02:00
Max Neunhoeffer
e8e60106f3
Add quotes for id attribute and add closeTransaction.
2014-09-24 00:27:12 +02:00
Max Neunhoeffer
1f74a64b58
Implement POST for HTTP API for queries.
2014-09-23 16:51:03 +02:00
Max Neunhoeffer
067dd690f9
More progress with HTTP API for queries.
2014-09-23 13:16:10 +02:00
Jan Steemann
38fdaa4066
removed unused function parameter
2014-09-19 20:28:41 +02:00
Max Neunhoeffer
51aff683d9
Some more code for HTTP API for AQL.
2014-09-19 16:49:55 +02:00
Max Neunhoeffer
94bcd23070
Set up relevant HTTP methods for AQL.
2014-09-19 14:28:54 +02:00
Max Neunhoeffer
697dc64b58
Add a QueryRegistry in the ArangoServer and hand it on.
2014-09-19 13:56:46 +02:00
Max Neunhoeffer
0466873092
First step towards correct setup of HTTP API for AQL.
2014-09-19 13:14:19 +02:00
Max Neunhoeffer
68f246a09f
Add a REST handler for AQL (queries/cursors).
2014-09-19 00:36:57 +02:00