Jan Steemann
691623e905
less code
2015-01-12 19:45:08 +01:00
Jan Steemann
f3b142849f
fixed leaks during reverts
2015-01-03 01:28:23 +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
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
a82ac45190
fixed tests on ARM
2014-12-19 17:59:36 +01:00
Jan Steemann
20e7fe7a7a
the great rename: array => object, list => array
2014-12-18 21:07:06 +01:00
Jan Steemann
a56ad5df36
fixed unintentionally broken tests
2014-12-17 14:44:18 +01:00
Jan Steemann
db1ddb880b
wait for sync thread outside of lock
2014-12-17 14:21:24 +01:00
Willi Goesgens
1c4a72b106
The Big V8 upgrade Merge.
2014-12-15 17:30:56 +01:00
Max Neunhoeffer
f6324dd9ec
Fix a comment.
2014-12-08 16:12:40 +01:00
Jan Steemann
d9a945e33a
include or exclude system collections from replication
2014-12-05 14:58:43 +01:00
Jan Steemann
16b7c4a1a8
VS
2014-11-26 15:22:30 +01:00
Jan Steemann
f464fe99cd
removed unused function
2014-11-24 13:00:45 +01:00
Jan Steemann
8c2ca1ee48
include collection name in replication output
2014-11-24 12:55:35 +01:00
Jan Steemann
da007f5640
skip writing begin/abort/commit markers for transactions without write operations
2014-11-20 14:19:23 +01:00
Jan Steemann
da468b2f58
allow lazier querying of hash index
2014-11-18 14:16:36 +01:00
Jan Steemann
cbe8150e97
fixed potential reason for segfault
2014-11-06 12:59:50 +01:00
Jan Steemann
e5abbe92e9
fixed broken cursors if cursor size > batchSize
2014-11-05 12:19:36 +01:00
Jan Steemann
d1bf47a14a
fixed issue when rolling back remove operations that could not remove from indexes
2014-11-01 18:03:57 +01:00
Jan Steemann
d85dddfc7a
be less verbose
2014-11-01 15:22:27 +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
694d225c9d
silence
2014-10-31 10:38:10 +01:00
Max Neunhoeffer
3960ff5667
Fix TRI_FreeBarrier by giving two variants.
2014-10-30 09:51:13 +01:00
Max Neunhoeffer
1d867643d5
Protect some flags in a barrier by the barrier lock.
2014-10-30 09:36:38 +01:00
Jan Steemann
bc4ae8e7df
fixed leak in IndexOperator, simplified IndexOperator API
2014-10-24 12:57:09 +02:00
Jan Steemann
612abc6a20
less throwing in destructors
2014-10-23 10:18:30 +02:00
Jan Steemann
10c9a54932
start transactions on coordinator
2014-10-20 15:39:55 +02:00
Jan Steemann
e6f10b374b
more cleanup
2014-10-18 01:39:47 +02:00
Jan Steemann
40ddb93eee
flush log at shutdown
2014-10-18 00:44:44 +02:00
Jan Steemann
dcb9427b6f
rewrote transaction contexts
2014-10-16 15:53:28 +02:00
Jan Steemann
8e40e727a4
fixed memleak
2014-10-15 10:13:24 +02:00
Jan Steemann
9d02516e19
potential fix for issue #1041
2014-10-11 21:42:58 +02:00
Jan Steemann
999d8ffd1d
small optimizations
2014-10-08 16:10:27 +02:00
Jan Steemann
ff80fafba5
fixed cached lookups of collections on the server, which may have caused spurious problems after collection rename operations
2014-10-08 14:59:02 +02:00
Jan Steemann
e28ad821b0
fixed spuriously occurring "database not found" error
2014-10-02 15:34:38 +02:00
Jan Steemann
3afadfdefa
fixed compile warnings
2014-09-26 12:30:42 +02:00
Max Neunhoeffer
bfc8b14a87
More HTTP methods for queries. Expire queries.
2014-09-24 16:51:35 +02:00
Jan Steemann
d5fb057603
less locking
2014-09-24 13:32:39 +02:00
Jan Steemann
ddfb5c965d
merged experimental features
2014-09-24 09:42:16 +02:00
Jan Steemann
64f5b22e4f
changed interface for locking
2014-09-19 12:45:29 +02:00
Jan Steemann
95c9a0ccba
fixed compile warnings
2014-09-19 09:15:26 +02:00
Jan Steemann
1fff0ecac2
optimization for recovery of collections that are going to be dropped anyway
2014-09-18 18:20:56 +02:00
Jan Steemann
1016debd2e
more robust recovery
2014-09-18 17:47:37 +02:00
Jan Steemann
e5e2cfe4da
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
2014-09-17 11:50:42 +02:00
Jan Steemann
d3f4f05df1
issue #1020
2014-09-17 11:42:01 +02:00
Jan Steemann
93ed0f2255
added reverse iteration for skiplists
2014-09-16 22:23:40 +02:00
Jan Steemann
85c96f2113
simplified hash index functions
2014-09-16 20:22:12 +02:00
Jan Steemann
f0b2a9e946
removed index_iterator
2014-09-16 16:23:55 +02:00