Max Neunhoeffer
bde48d524d
Change undocumented behaviour in case of invalid rev in JS document ops.
...
An invalid rev should lead to a 1200 ("conflict") error rather than a
1239 ("illegal document revision") error. This is more intuitive and
in line with the corresponding change in the HTTP API. No tests needed
adjustment.
2017-02-08 10:59:04 +01:00
Max Neunhoeffer
cbcda7932c
Change undocumented behaviour in case of invalid rev in If-Match headers.
...
An invalid rev should lead to a 412 PRECONDITION FAILED rather than a
404 BAD error. This is more intuitive, in particular since we have
never documented what valid rev strings are. Also adjust tests and
CHANGELOG.
2017-02-07 22:37:38 +01:00
Max Neunhoeffer
883c11ea45
Handle the case that ClusterComm is already shut down gracefully.
...
This touches every single place where ClusterComm is being used.
2017-02-07 15:31:40 +01:00
jsteemann
d503a4d354
added reactor type
2017-02-07 12:41:41 +01:00
Max Neunhoeffer
71dae630c3
Store ClusterComm singleton in shared_ptr.
2017-02-06 15:25:18 +01:00
jsteemann
d96ce9af37
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-30 12:53:10 +01:00
jsteemann
0cb7d416d0
moved transaction collections into their own files
2017-01-26 16:51:57 +01:00
Michael Hackstein
f61a27d0e6
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2017-01-26 09:50:00 +01:00
jsteemann
d7b131852c
factored out transaction hints
2017-01-25 13:12:09 +01:00
jsteemann
00b1632ece
factored out AccessMode from transaction.h
2017-01-25 11:57:21 +01:00
Michael Hackstein
78b83eefc4
Renamed => getMoreMptr in OpCursor to getMoreTokens, Removed default Parameter
2017-01-25 10:46:37 +01:00
Michael Hackstein
15bbfc7b0c
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-01-24 18:22:01 +01:00
Michael Hackstein
2133b1448c
Moved index API to return DocumentIdentifierTokens which are independent of the underlying storage engine. The agreement is, that the Engine gives a uint64_t sized identifier which allows to fetch any document back again. For MMFiles Engine this identifier is the revision.
2017-01-24 18:19:25 +01:00
jsteemann
37b73f7377
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-api
2017-01-24 14:06:57 +01:00
Max Neunhoeffer
5e6d2c2045
Fix acquire of read locks for sync. replication.
2017-01-24 13:55:56 +01:00
jsteemann
26aa05897f
Merge branch 'engine-api' of https://github.com/arangodb/arangodb into engine-api
2017-01-24 12:46:51 +01:00
Michael Hackstein
9d063ec5ba
Fixed incorrect construction of VPack object. Lead to failing edge tests
2017-01-24 12:46:30 +01:00
jsteemann
e3bcb90916
remove revisions cache
2017-01-24 10:48:07 +01:00
Michael Hackstein
8ebff4a5f8
Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api
2017-01-23 17:29:00 +01:00
Michael Hackstein
dc3a0e984f
removed getMore() from OperationCursor
2017-01-23 17:27:57 +01:00
jsteemann
c4d2ff3dce
renaming
2017-01-23 15:36:11 +01:00
jsteemann
7fedb4e956
moved files into engine directory
2017-01-23 13:52:57 +01:00
Michael Hackstein
92ad574c97
Moved Indexes to StorageEngine
2017-01-23 13:32:23 +01:00
jsteemann
952c3f848e
factored out transaction manager from logfile manager
2017-01-23 12:31:45 +01:00
jsteemann
f9fb701505
moved LogfileManager into engine
2017-01-23 10:30:55 +01:00
jsteemann
112386d300
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2017-01-19 15:45:52 +01:00
jsteemann
6f9927fea0
avoid constructing temporary lookup strings
2017-01-19 14:27:04 +01:00
Andreas Streichardt
a9ccdf86c1
Several movement fixes
2017-01-18 17:48:01 +01:00
Michael Hackstein
4f67c8352c
Renewed restore-collection in RestReplicationHandler. It now uses new API to create Collections, doing all sanity-checks etc.
2017-01-16 13:36:46 +01:00
Michael Hackstein
1d33197a4f
Updated the clusterInventory endpoint to use LogicalCollection instead of reading the Agency.
2017-01-12 13:39:46 +01:00
jsteemann
ac7d9af48f
attempt to validate utf8 sequences in vst
2017-01-12 13:22:19 +01:00
Michael Hackstein
ce4d255669
Removed dead code. Cleaned Compilerror non enterprise
2017-01-11 18:38:34 +01:00
Michael Hackstein
1902b571fa
Unified restore handler in cluster and local
2017-01-11 18:01:21 +01:00
Kaveh Vahedipour
0875353a26
all ArangoAgency.set rewritten in cluster.js
2017-01-09 17:30:36 +01:00
Michael Hackstein
b612e34aa7
Refactoring in RestReplicationHandler. Preparation for Enterprise Restore version.
2017-01-06 18:09:11 +01:00
Michael Hackstein
cd83ce24fc
In case of INTERNAL_ERROR the restore-data handler will now correctly supply the error message
2017-01-06 15:24:50 +01:00
jsteemann
a655a0e5c8
removed unused parameter
2016-12-19 09:56:37 +01:00
jsteemann
f0a4d69b69
use bulk allocator for index elements
2016-12-09 21:40:49 +01:00
Andreas Streichardt
82682f8d25
Wait for synchronous replication to settle
2016-12-07 18:38:15 +01:00
Jan Steemann
b8c72dece8
fixed issue #2211
2016-12-07 12:28:52 +01:00
Andreas Streichardt
11bd9381d5
Add satellite collections
2016-12-06 16:40:50 +01:00
jsteemann
369b2c7bc6
added optional memory limit for AQL queries
2016-12-06 13:23:41 +01:00
jsteemann
2521dff57c
fix error message returned by arangoimp in case of some secondary unique key constaint violations
2016-12-02 13:37:17 +01:00
jsteemann
f63ed97814
fixed issue #2192
2016-11-30 14:58:26 +01:00
Kaveh Vahedipour
b464b378bf
new transact api for agency
2016-11-23 17:59:48 +01:00
Jan Christoph Uhde
2bd70e5b9f
fix request statistics and add a ruby test
2016-11-23 11:29:25 +01:00
Kaveh Vahedipour
ffe7f9f3ad
merged in devel
2016-11-16 14:59:53 +01:00
jsteemann
68c15ebc9e
do not url-decode paths eagerly
2016-11-15 15:46:21 +01:00
jsteemann
ad93f8f5ad
oops
2016-11-09 16:42:51 +01:00
Jan Steemann
bd2800c226
issue #2158 : fix error message in case arangoimp fails because of inter-server communication failures/timeouts etc.
2016-11-09 15:19:58 +01:00