Jan Steemann
7b366ca130
use auto
2015-06-05 12:46:41 +02:00
Jan Steemann
4dde6e49cd
goodbye barriers, welcome ditches
2015-05-28 10:23:30 +02:00
Jan Steemann
03461903fe
fixed over-eager V8 context entering and exiting in non-cluster mode
2015-05-27 14:02:13 +02:00
Jan Steemann
a9f2769ffa
now compiles and links
2015-05-23 04:31:13 +02:00
Jan Steemann
9a1b3d0b52
in the middle of changes - need to go home now
2015-05-22 22:15:26 +02:00
Michael Hackstein
86c7f87dd3
Merge branch 'cppTrav2' into devel
2015-05-19 16:17:27 -07:00
Jan Steemann
3acbbbc880
call reserve() before storing documents
2015-05-19 14:28:25 +02:00
Michael Hackstein
3b3a28e16a
The CPP shortest path can now live with non existent vertices and even with non existent vertex collections (dropped after edge creation but before path computation)
2015-05-12 15:39:04 -07:00
Jan Steemann
f6bc0a05e3
added `limit` parameter for export API
2015-05-12 14:16:27 +02:00
Jan Steemann
6b412a1c01
Merge branch 'json-privatisierung' of https://github.com/arangodb/arangodb into json-privatisierung
2015-05-07 13:05:12 +02:00
Jan Steemann
163c2fbc8b
coarse locking for truncate()
2015-05-06 17:09:43 +02:00
Jan Steemann
63138def67
fix location response headers with special characters
2015-05-05 14:00:06 +02:00
Jan Steemann
a007a867ee
"privatized" TRI_vector_t internals.
...
This allows changing the internals of TRI_vector_t structs in order to make the struct smaller.
On 64 bits, the size of TRI_vector_t is reduced from 48 bytes to 28 bytes.
TRI_json_t does benefit from this, as its biggest component is a TRI_vector_t.
2015-05-05 10:31:02 +02:00
Jan Steemann
244cc2d66d
added some batch processing methods
2015-05-04 17:46:47 +02:00
Jan Steemann
0099fe260a
return value optimization for AQL
2015-04-30 23:38:27 +02:00
Jan Steemann
8dbcf0e23f
Visual Studio adjustments
2015-04-30 11:46:55 +02:00
Jan Steemann
32b547886b
fixed up some headers
2015-04-24 13:11:29 +02:00
Jan Steemann
61499432b7
do not remove constant sorts when creating plans, but during optimization phase
...
less utf8 comparisons
2015-04-20 11:32:29 +02:00
Jan Steemann
6e23c5330f
added restrictions for export API
2015-04-17 00:24:43 +02:00
Jan Steemann
ad132ed202
delete expired cursors in coordinator, too
2015-04-16 13:51:03 +02:00
Jan Steemann
2299d2916d
initial commit to satisfy #1298
2015-04-13 18:26:33 +02:00
Jan Steemann
0f1244f72d
better export API cleanup
2015-03-31 18:44:51 +02:00
Jan Steemann
e672d791b5
refactored cursor API, added export API
2015-03-30 18:03:42 +02:00
Jan Steemann
80a99ab23e
refactored cursor API
2015-03-30 14:58:51 +02:00
Jan Steemann
c62c26e088
Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
2015-03-23 15:31:41 +01:00
Frank Celler
4c5d57f1b8
merged Exceptions.h and Exception.h
2015-03-23 14:05:19 +01:00
Jan Steemann
13ddb8b34b
fixed some cluster plans
2015-03-17 13:52:09 +01:00
Jan Steemann
ff813a7d11
removed wrong comment
2015-02-09 11:33:13 +01:00
Willi Goesgens
854f733c49
Exceptions:
...
- Assert that the associated errorcode has format options so if you call a THROW-macro with parameters these don't get lost unheard.
- Add new macro which offers format strings, so you can throw standard errors with custom messages.
2015-01-21 15:03:21 +01:00
Max Neunhoeffer
1782039138
Fix cluster-wide locking for AQL.
2014-12-22 16:21:45 +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
19d2d6668f
added random iteration for collections
2014-12-19 18:01:13 +01:00
Jan Steemann
20e7fe7a7a
the great rename: array => object, list => array
2014-12-18 21:07:06 +01:00
Willi Goesgens
1c4a72b106
The Big V8 upgrade Merge.
2014-12-15 17:30:56 +01:00
Jan Steemann
0a27b7cf89
removed debug output
2014-12-04 11:15:45 +01:00
Jan Steemann
a71bf1819c
issue #1099 : do not fail if general-graph.remove is used inside a transaction
2014-11-17 15:47:39 +01:00
Jan Steemann
f96a3d3f98
forgot to commit
2014-11-07 11:04:21 +01:00
Jan Steemann
b0de1bb226
leaner and meaner error messages
2014-11-07 10:53:00 +01:00
Max Neunhoeffer
0044d7d1b0
Fix bug in AQL that abort() was called after commit() for trx.
2014-10-31 18:15:40 +01:00
Jan Steemann
4f68960ed7
removed Ahuacatl [skip ci]
2014-10-31 17:31:00 +01:00
Jan Steemann
83252851e6
report warnings in queries
2014-10-30 17:33:15 +01:00
Jan Steemann
13d240384f
less namespace pollution
2014-10-28 00:24:37 +01:00
Jan Steemann
7452c70a3b
moved backtrace functions
2014-10-27 18:15:10 +01:00
Willi Goesgens
7db7c22443
don't add the TRI_errno_string() to the exception twice.
2014-10-27 15:39:10 +01:00
Jan Steemann
38c8f4e328
do not log warning
2014-10-24 13:19:26 +02:00
Jan Steemann
3269bfe3a9
simpler iteration
2014-10-23 14:43:43 +02:00
Willi Goesgens
02c1f59007
Also add our errno strings to exceptions with user messages (if not TRI_ERROR_INTERNAL)
2014-10-21 12:43:33 +02:00
Jan Steemann
40e62e95a5
fixed out-of-scheduler-threads issue
2014-10-20 18:27:50 +02:00
Jan Steemann
10c9a54932
start transactions on coordinator
2014-10-20 15:39:55 +02:00
Jan Steemann
026fc2b83a
next attempt to fix v8 context handling
2014-10-17 15:47:39 +02:00