Jan Steemann
e6e864cd7a
removed unused functions
2016-03-02 10:53:59 +01:00
Kaveh Vahedipour
fa66ba2ffc
compiles again
2016-03-01 16:45:34 +01:00
Kaveh Vahedipour
316f0cabfa
found typo in definition
2016-03-01 12:23:34 +01:00
Jan Steemann
102066b4ee
removed methods
2016-03-01 11:50:16 +01:00
Jan Steemann
21e5e68ae5
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
2016-03-01 11:14:55 +01:00
Jan Steemann
6c152649d4
added allKeys() method
2016-03-01 11:14:40 +01:00
Max Neunhoeffer
ad97830d7f
Add babies to insert document API (V8 & HTTP & Transaction).
2016-03-01 10:14:24 +01:00
Kaveh Vahedipour
4435236e91
property_map
2016-03-01 08:52:20 +01:00
Jan Steemann
eae225f4c8
changed marker storage
2016-02-29 18:33:16 +01:00
Kaveh Vahedipour
56c7ade66d
Merge branch 'devel' of https://github.com/arangodb/arangodb into agency
2016-02-29 18:27:24 +01:00
Jan Steemann
d122ace96a
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-29 17:44:37 +01:00
Jan Steemann
2e5a41c8c8
order barriers while accessing edges
2016-02-29 16:27:24 +01:00
Kaveh Vahedipour
4860dac5fa
Moving callbacks out of Agent into new class AgentCallbacks
2016-02-29 15:09:03 +01:00
Kaveh Vahedipour
638eda15ed
agency on
2016-02-29 09:49:23 +01:00
Kaveh Vahedipour
98ebbb5b40
agency on
2016-02-29 09:01:09 +01:00
Kaveh Vahedipour
e5c79ea73c
agency on
2016-02-27 11:44:21 +01:00
jsteemann
f0aeab0d12
cleanup
2016-02-27 01:10:42 +01:00
Jan Steemann
bd9293802d
marker changes, unfinished
2016-02-26 19:39:17 +01:00
Kaveh Vahedipour
0ac54c3300
agency on
2016-02-26 17:44:14 +01:00
Jan Steemann
88b6828abb
re-added single-operation hints
2016-02-26 12:37:12 +01:00
Jan Steemann
ebf2d1520b
removed TRI_doc_mptr_copy_t
2016-02-26 11:46:33 +01:00
Kaveh Vahedipour
34976d462f
agency on
2016-02-26 09:31:05 +01:00
Jan Steemann
045d1cd22a
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-25 16:17:27 +01:00
Jan Steemann
018bc573cd
fixed leak
2016-02-25 16:17:01 +01:00
Jan Steemann
2ee4dad77b
TransactionContext is now the resource owner
2016-02-25 14:02:57 +01:00
Jan Steemann
3c6391279e
cleanup
2016-02-25 12:24:04 +01:00
Jan Steemann
e1745608e3
inject attribute translator everywhere
2016-02-25 11:13:32 +01:00
Jan Steemann
8f2e2de451
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-25 10:46:13 +01:00
jsteemann
1823ae4fd2
removed unused forwards and functions
2016-02-25 00:48:06 +01:00
jsteemann
74fa6cf207
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-25 00:02:03 +01:00
jsteemann
851d19a9d6
logging simplifications
2016-02-25 00:00:18 +01:00
Kaveh Vahedipour
75f429dd3f
agency on
2016-02-24 18:35:27 +01:00
Kaveh Vahedipour
86be0136ec
agency on
2016-02-24 18:26:32 +01:00
Jan Steemann
63d1d5339f
cppcheck
2016-02-24 17:55:36 +01:00
Kaveh Vahedipour
1de36c5ba7
agency on
2016-02-23 16:54:00 +01:00
Jan Steemann
8ae3550edb
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-23 13:23:25 +01:00
Jan Steemann
3380360a0c
fix compiler warning
2016-02-23 13:23:02 +01:00
Jan Steemann
70d44f06fa
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-23 13:22:46 +01:00
Jan Steemann
188b6696d2
fix compiler warning
2016-02-23 13:21:01 +01:00
Jan Steemann
eb202f528c
pass vocbase in TransactionContext
2016-02-23 13:03:30 +01:00
Frank Celler
987da8d434
fixed error handling
2016-02-23 12:26:12 +01:00
Frank Celler
963578180a
cleanup of TRI_ options
2016-02-23 12:26:10 +01:00
Frank Celler
ef71f52a24
simplified init
2016-02-23 12:26:10 +01:00
Jan Steemann
f468cd00ad
create transaction context as shared ptr
2016-02-23 12:18:39 +01:00
Jan Steemann
0a969caf23
removed SingleCollectionReadOnlyTransaction and SingleCollectionWriteTransaction
2016-02-23 11:05:44 +01:00
Michael Hackstein
fefe7f4f73
Fixed TODO where collectionType was hardcoded and probably wrong and replaced it by new transaction API.
2016-02-23 09:44:02 +01:00
Michael Hackstein
e5d68c6b37
Silence param unused warning
2016-02-23 09:42:55 +01:00
Kaveh Vahedipour
77c9580344
agency needs some reworking
2016-02-22 16:53:02 +01:00
Michael Hackstein
a2a52c6ea5
Fixed usage of collection type in RestDocumentHandler
2016-02-22 16:09:51 +01:00
Max Neunhoeffer
393ac7e753
Rename getCollectionId -> getCollectionIdLocal.
2016-02-19 23:26:17 +01:00
Jan Steemann
aea510155d
removed unused variables
2016-02-19 12:57:37 +01:00
Michael Hackstein
ed72993cd6
Rest Import Handler now uses new transaction API for truncate as well
2016-02-19 12:51:06 +01:00
Michael Hackstein
09c6c4bd0d
HTTP DELETE now uses new transaction API
2016-02-19 12:50:20 +01:00
Kaveh Vahedipour
89fba8f8d9
Merge branch 'devel' of https://github.com/arangodb/arangodb into agency
2016-02-19 11:35:03 +01:00
Michael Hackstein
7f2e01a180
Fixed usage of old constructor
2016-02-18 16:44:08 +01:00
Michael Hackstein
4e12805846
document PUT and PATCH now use the new Transaction API.
2016-02-18 16:14:23 +01:00
Michael Hackstein
b7cf8138b3
Fixed Rest generateDocument. It now uses the custom attribute handler for _id
2016-02-18 15:25:13 +01:00
Michael Hackstein
4aa3de6eb8
RestDocument Handler GET now uses new Transaction API
2016-02-18 15:08:57 +01:00
Michael Hackstein
b2eb4fdb23
Added helper functions to create HTTP Results from internal VelocyPack
2016-02-18 15:08:33 +01:00
Jan Steemann
d7963c651b
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-02-18 12:55:49 +01:00
Frank Celler
a5e804ab70
added cancel
2016-02-17 22:19:52 +01:00
Frank Celler
345712c36f
changed to new Thread interface
2016-02-17 22:19:37 +01:00
Michael Hackstein
2b10ec64d3
Adapted RestImportHandler to new Transaction API
2016-02-17 13:49:10 +01:00
Michael Hackstein
d25e79cc22
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
2016-02-17 12:57:12 +01:00
Michael Hackstein
22d30676a5
Moved RestEdgeHandler to new transaction.insert api. Still needs test
2016-02-17 12:57:06 +01:00
Jan Steemann
39e64150e4
stubs for remove()
2016-02-17 12:14:21 +01:00
Michael Hackstein
11046e30a9
Explicitly give the Collection Type for HTTP generate saved result
2016-02-17 09:39:11 +01:00
Michael Hackstein
a75814264c
Use static internal attribute Names instead of inplace strings
2016-02-16 18:17:26 +01:00
Michael Hackstein
373f860230
Wrapped the RestDocument Handler around the new Transaction Insert function
2016-02-16 17:57:46 +01:00
Michael Hackstein
6b8fcfa76b
Added a generate saved result for the new Transaction result
2016-02-16 17:07:12 +01:00
Jan Steemann
0c4ab9054a
API cleanup
2016-02-16 15:13:30 +01:00
Kaveh Vahedipour
46da26fe77
Pulling from devel
2016-02-16 10:50:26 +01:00
Jan Steemann
313f27deed
renamed methods
2016-02-15 18:18:03 +01:00
Max Neunhoeffer
4cbd99a54b
Merge branch 'devel' into ClustUp2
2016-02-13 23:06:22 +01:00
Jan Steemann
dad000b883
use std::string to avoid potential leaks
2016-02-11 10:13:49 +01:00
Max Neunhoeffer
465a117864
Merge branch 'devel' into ClustUp2
2016-02-11 09:11:29 +01:00
Jan Steemann
23dfbeee46
optionally restrict logger-follow to a single collection
2016-02-10 16:49:22 +01:00
Max Neunhoeffer
dc63cb3874
Merge branch 'devel' into ClustUp2
2016-02-09 15:52:36 +01:00
Max Neunhoeffer
fb17ac372b
Report new follower to agency.
2016-02-09 15:51:58 +01:00
Jan Steemann
39c3d3d2a2
wait until applier has started
2016-02-09 10:54:37 +01:00
Jan Steemann
82a84054ba
fixed leak
2016-02-08 16:29:09 +01:00
Jan Steemann
42c4bdbebb
ported from 2.8
2016-02-07 19:47:37 +01:00
Jan Steemann
7ecf38cc38
fixed leak
2016-02-07 17:37:27 +01:00
Jan Steemann
16df093e8f
added barrier query API
2016-02-05 18:20:21 +01:00
Jan Steemann
a0cb3b1832
replication changes
2016-02-05 18:06:39 +01:00
Jan Steemann
071d36c203
replication cleanup
2016-02-05 13:28:38 +01:00
Kaveh Vahedipour
df4508f59d
Merge branch 'devel' of https://github.com/arangodb/arangodb into agency
2016-02-04 11:40:54 +01:00
Max Neunhoeffer
7a92f3ac0f
Merge branch 'devel' into ClustUp2
2016-02-04 09:39:46 +01:00
Kaveh Vahedipour
c2069d4b15
Election call in arango agency
2016-02-04 09:29:47 +01:00
Jan Steemann
b7fddb15ad
handle compile warnings
2016-02-04 09:07:36 +01:00
Frank Celler
bb3acf8cd5
fixed /_admin/log
2016-02-04 00:41:50 +01:00
Kaveh Vahedipour
1b0cb63123
minor changes of LOG and namespaces
2016-02-03 10:15:54 +01:00
Kaveh Vahedipour
d90cd061fb
Merge branch 'devel' of https://github.com/arangodb/arangodb into agency
2016-02-03 09:34:24 +01:00
Max Neunhoeffer
ac51c221b3
Merge branch 'devel' into ClustUp2
2016-02-03 08:55:01 +01:00
Jan Steemann
bfd5d6614a
fixed namespace usage
2016-02-02 15:10:44 +01:00
Jan Steemann
11736660d8
removed namespace
2016-02-02 14:41:34 +01:00
Jan Steemann
48f1ce865b
don't swallow detailed return codes
2016-02-02 14:01:26 +01:00
Max Neunhoeffer
daf2afe71a
Merge branch 'devel' into ClustUp2
2016-02-01 12:30:45 +01:00
Jan Steemann
b7abf5a40d
attempt to fix Windows build
2016-02-01 12:04:28 +01:00
Max Neunhoeffer
0be190d85d
Merge branch 'devel' into ClustUp2
2016-02-01 11:43:00 +01:00
Max Neunhoeffer
bee1fd9eae
Fix followerInfo.
2016-02-01 11:42:26 +01:00
Max Neunhoeffer
93400bfdcc
Implement followerInfo.
2016-02-01 11:38:10 +01:00
Kaveh Vahedipour
d8e0e8be74
Merge branch 'devel' of https://github.com/arangodb/arangodb into agency
2016-02-01 10:23:23 +01:00
jsteemann
b635983d9c
removed unused functions and headers
2016-01-31 19:08:39 +01:00
jsteemann
ae25d2b53b
removed `using namespace std`
2016-01-31 18:22:00 +01:00
jsteemann
4e94803ad7
honor results of clang-test, clang-tidy and clang-modernize
2016-01-31 15:56:18 +01:00
jsteemann
13481bbebc
fix or annotate problems identified by clang-check
2016-01-31 03:32:31 +01:00
jsteemann
2d7323a560
fixed warnings shown by clang-3.7
2016-01-31 02:17:36 +01:00
jsteemann
9482ee1cca
use Logger
2016-01-30 00:08:35 +01:00
jsteemann
ff21453255
logger transition: all files in arangod exception transactions.cpp
2016-01-29 23:28:44 +01:00
Michael Hackstein
e0f0a6f1a8
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-29 14:18:05 +01:00
Michael Hackstein
436c377cb5
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-29 14:01:53 +01:00
Max Neunhoeffer
238937128a
Merge branch 'devel' into ClustUp2
2016-01-29 13:59:11 +01:00
Kaveh Vahedipour
3359a47be0
Merge branch 'devel' of https://github.com/arangodb/arangodb into agency
2016-01-29 11:41:48 +01:00
Jan Steemann
5e9a36783f
fixed crash
2016-01-28 20:00:22 +01:00
Kaveh Vahedipour
237d3f91da
Merge branch 'devel' of https://github.com/arangodb/arangodb into agency
2016-01-28 10:57:00 +01:00
Jan Steemann
37a083edca
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-01-27 18:53:29 +01:00
Jan Steemann
585208afcf
changed directory name pattern for collections
2016-01-27 18:53:16 +01:00
Kaveh Vahedipour
cd45bc2fbe
Merge branch 'devel' of https://github.com/arangodb/arangodb into agency
2016-01-27 18:35:55 +01:00
Frank Celler
175e1e6b51
moved low level mutex in Mutex class
2016-01-27 15:31:02 +01:00
Kaveh Vahedipour
deb8639564
Merge branch 'devel' of https://github.com/arangodb/arangodb into agency
2016-01-27 14:32:25 +01:00
Kaveh Vahedipour
08710aa2df
Adding agency rest handler
2016-01-27 14:32:20 +01:00
Jan Steemann
9046e1831b
clang-format
2016-01-27 13:43:46 +01:00
Jan Steemann
3d8a52cdf4
some refactoring
2016-01-27 13:28:19 +01:00
Max Neunhoeffer
887e571a26
Merge branch 'devel' into ClustUp2
2016-01-26 18:01:42 +01:00
Michael Hackstein
b49830c106
Started migrating cursors to VelocyPack
2016-01-26 16:00:29 +01:00
Jan Steemann
3fc862f0ef
changed locking macros
2016-01-26 15:39:12 +01:00
Michael Hackstein
969ac75d19
Removed all TRI_json_t references from v8-vocindex and all it's surroundings
2016-01-26 13:27:21 +01:00
Michael Hackstein
bc1b69af70
Fixed error where a nullptr was dereferenced without any checks
2016-01-25 16:00:17 +01:00
Michael Hackstein
a6f58ce14d
Use forward declarations for VelocyPack instead of all includes everywhere
2016-01-24 14:29:31 +01:00
Michael Hackstein
191c2dc3a9
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-21 16:29:38 +01:00
jsteemann
842384016d
namespace cleanup
2016-01-21 00:20:22 +01:00
jsteemann
ef67a496e6
more checks & asserts, C API cleanup
2016-01-20 22:08:11 +01:00
Michael Hackstein
51a683facb
Added a toVelocyPack function to all indexes. Removed specialized toJson from all indexes. Generalized toJson invokes specialized toVelocyPack for compatibility reasons.
2016-01-19 15:40:37 +01:00
Michael Hackstein
7f4980e87d
Cluster internal communication now uses more VPack instead of TRI_json_t
2016-01-19 11:33:43 +01:00
jsteemann
431900f17a
changed namespace from triagens to arangodb
2016-01-17 00:44:53 +01:00
Michael Hackstein
f254f83dfb
Moved DebugClearFailure to v8-actions, alowing it to be executed in Cluster as well
2016-01-16 15:19:49 +01:00
Jan Steemann
31b4de2acb
removed unused RestHandler
2016-01-15 10:27:31 +01:00
jsteemann
1b959c827d
more const unification
2016-01-15 00:09:52 +01:00
jsteemann
f66eb007cd
some const unification
2016-01-15 00:03:03 +01:00
jsteemann
4a1c10d46c
cppcheck
2016-01-14 23:45:59 +01:00
jsteemann
5759882ef6
removed useless comments
2016-01-14 23:24:21 +01:00
Michael Hackstein
d999c7063b
Moved Debug functions to V8Server and made them available via a debug endpoint. This is used to distributed debugSetFailAt in cluster, s.t. DBServers use these functions as well
2016-01-14 17:14:18 +01:00
Michael Hackstein
ad8fa5c63a
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-14 09:23:10 +01:00
Frank Celler
89ca0ffae1
added work monitor call
2016-01-13 18:10:51 +01:00
Michael Hackstein
c557a48e9e
Reduced usage of TRI_json_t in VocbaseBaseHandler
2016-01-12 16:44:52 +01:00
Max Neunhoeffer
b0283077db
Merge branch 'devel' into ClustUp2
2016-01-11 11:41:36 +01:00
Max Neunhoeffer
e7eae3a73a
Merge branch 'devel' into ClustUp2
2016-01-11 11:01:45 +01:00
Wilfried Goesgens
625cc51732
fix memleak.
2016-01-11 10:05:29 +01:00
Jan Steemann
687d6133f0
comments reformatting
2016-01-11 09:52:39 +01:00
jsteemann
64c5b21074
cppcheck
2016-01-08 01:17:44 +01:00
jsteemann
9f0576c65f
don't rely so much on namespace std being present
2016-01-08 01:05:06 +01:00
jsteemann
50c0e18d53
removed useless con|destructor comments
2016-01-07 21:19:53 +01:00
Jan Steemann
8b4b6a1943
moved docu blocks into their own files
2016-01-07 16:03:17 +01:00
Wilfried Goesgens
7fc4b356e4
Revert formattings that break documentation parts.
2016-01-07 15:12:04 +01:00
Wilfried Goesgens
8a0f635dca
Wrap examples properly - this was broken during the auto format.
2016-01-07 13:08:50 +01:00
Jan Steemann
02de75afe0
added option --default-number-of-shards for arangorestore
2016-01-07 10:54:02 +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
9a1d7959e9
merged string-buffer.h and StringBuffer.h
2016-01-06 13:24:09 +01:00
Jan Steemann
f422576ee0
clang-format
2016-01-05 17:43:24 +01:00
Jan Steemann
6caf94f6f5
fixed restoring dump from single server in cluster
2016-01-05 17:29:22 +01:00
Jan Steemann
edb4d2dc4c
fix some VS compile errors
2016-01-05 14:10:10 +01:00
jsteemann
a6cb463e06
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2016-01-05 00:25:10 +01:00
Frank Celler
1065a1bd2c
added work monitor
2016-01-04 15:33:06 +01:00
Max Neunhoeffer
fa17c1ac22
Add reporting about query state. Needed for synchronous replication.
2015-12-30 16:52:47 +01:00
Max Neunhoeffer
c7f00bfeda
Continue work on TODOs.
2015-12-23 14:40:04 +01:00
Jan Steemann
ae5a6952da
fix
2015-12-22 17:54:22 +01:00
Max Neunhoeffer
225c8cd843
Work on TODOs.
2015-12-22 16:50:09 +01:00
Max Neunhoeffer
989e92761b
Merge branch 'vpack' of ssh://github.com/ArangoDB/ArangoDB into vpack
2015-12-22 14:18:46 +01:00
Max Neunhoeffer
152f3485b3
Fix dump bug in cluster.
2015-12-22 14:18:11 +01:00
Jan Steemann
e2e483e06a
potential fix
2015-12-22 12:34:48 +01:00
Jan Steemann
55729b78a9
fixed test
2015-12-22 10:44:52 +01:00
Max Neunhoeffer
e0a527eb5d
Fix arangodump in cluster.
2015-12-21 11:53:37 +01:00
jsteemann
a058699312
use std::make_shared
2015-12-18 23:34:18 +01:00
jsteemann
19782a45a6
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-18 23:33:44 +01:00
jsteemann
20ed092d11
added `--create-collection-type` option for arangoimp
2015-12-18 22:26:32 +01:00
Max Neunhoeffer
0743885dec
Fix handling of VPackOptions in Parser/Builder usage.
...
Also fix TRI_json_t* handling for cluster methods.
2015-12-18 20:42:59 +01:00
Jan Steemann
e56d385c5e
fixed undefinedness
2015-12-17 18:31:11 +01:00
Jan Steemann
2b3f3f997b
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-17 10:59:30 +01:00
Jan Steemann
6ee9a6f90e
replication fixes
2015-12-16 19:52:01 +01:00
Michael Hackstein
82eea28fea
Merge branch 'vpack' of github.com:arangodb/arangodb into vpack
2015-12-16 19:03:15 +01:00
Michael Hackstein
f9f7c02772
Simple adoptions to VocbaseCollectionInfo class
2015-12-16 18:53:20 +01:00
Jan Steemann
573ba54da2
fixed typo
2015-12-16 12:04:27 +01:00
Michael Hackstein
b543680cca
Adapted resthandler to class version of TRI_col_info_t
2015-12-16 11:42:59 +01:00
Jan Steemann
a694b7ef48
make_unique
2015-12-16 11:36:35 +01:00
Max Neunhoeffer
0198b4576b
Merge branch 'devel' into ClustUp1
2015-12-15 20:40:52 +01:00
jsteemann
086fc073cf
cppcheck
2015-12-15 19:35:51 +01:00
Max Neunhoeffer
4451e491ec
Merge branch 'devel' into ClustUp1
2015-12-15 17:46:34 +01:00
Michael Hackstein
7fbb519117
Added an internal route to request edges for a list of vertices instead of a single vertex only. This is used for out/in/edges in cluster which was working with a list of edges locally but not in cluster mode
2015-12-15 16:38:54 +01:00
Jan Steemann
ad8381ad6a
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-15 16:37:33 +01:00
Alan Plum
8853ede355
org/arangodb -> @arangodb
2015-12-15 15:51:44 +01:00
Max Neunhoeffer
7641feeb88
Fix ClusterComm library w.r.t. pointers.
2015-12-14 11:22:30 +01:00
Max Neunhoeffer
af4d729284
The ClusterComm C++11 revolution.
2015-12-11 23:26:10 +01:00
Max Neunhoeffer
c11ec07564
Merge branch 'devel' into ClustUp1
2015-12-11 13:28:07 +01:00
jsteemann
c40bfe6557
cppcheck
2015-12-10 22:40:40 +01:00
Jan Steemann
a406ced17c
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-10 21:33:43 +01:00
Jan Steemann
4335af50e7
replication improvements
2015-12-10 19:07:10 +01:00
Michael Hackstein
51da7ab7af
Replication Applier configuration now uses a Destructor instead of TRI_Destroy. This commit is subject to inspection for memleaks
2015-12-09 16:29:14 +01:00
Michael Hackstein
cfd1caf01c
Replaced TRI_JsonReplicationApplier in RestHandler with velocpack
2015-12-09 15:25:14 +01:00
Michael Hackstein
2eb5697864
Removing more and more TRI_json_t
2015-12-09 13:55:39 +01:00
Michael Hackstein
0738741cd1
Further removed references to TRI_json_t in RestReplication handler. This included a new toVelocyPack function for TRI_vocbase_col_t
2015-12-09 12:35:33 +01:00
Michael Hackstein
757577de42
Updated VPack addObject to openObject
2015-12-09 11:28:54 +01:00
Michael Hackstein
acadb089ee
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2015-12-09 10:29:13 +01:00
Michael Hackstein
44b806418f
Merge branch 'vpack' of github.com:arangodb/arangodb into vpack
2015-12-09 10:28:16 +01:00
Max Neunhoeffer
3f78b86492
Merge branch 'devel' into ClustUp1
2015-12-09 09:04:00 +01:00
Wilfried Goesgens
4f4087a944
Fix link to the error codes
2015-12-08 23:45:36 +01:00
Max Neunhoeffer
b00c253481
Merge branch 'devel' into ClustUp1
2015-12-08 23:22:38 +01:00
jsteemann
18da212003
fixed edge handler response
2015-12-08 22:57:46 +01:00
Max Neunhoeffer
ec4e37b2f9
Merge branch 'devel' into ClustUp1
2015-12-08 20:13:17 +01:00
Jan Steemann
76d5f57af0
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-08 18:23:06 +01:00
Jan Steemann
6eb44f229e
issue #1598 : improved error reporting for dump/restore
2015-12-08 18:11:44 +01:00
Michael Hackstein
7d90d583f0
Further movement of RestReplicationHandler to VPack. This state is not fully working
2015-12-08 10:31:47 +01:00
Michael Hackstein
dd21a42523
Fixed calls to index->toVelocyPack in RestReplicationHandler
2015-12-07 15:45:22 +01:00
Michael Hackstein
602c6a61c2
The Replication handler now uses the index->toVelocyPack functionality
2015-12-07 15:00:11 +01:00
Michael Hackstein
5c11280cec
Started moving the RestReplication Handler from TRI_json_t to VelocyPack
2015-12-07 14:25:29 +01:00
Michael Hackstein
b465921629
Adaption to new HttpRequest API
2015-12-07 14:24:42 +01:00
Michael Hackstein
f63535c142
Further reduced usage of TRI_json_t in RestImportHandler
2015-12-06 13:36:59 +01:00
Michael Hackstein
11dc6373d9
Reduced usage of TRI_Json_t in RestDocumentHandler and entirely removed it from RestEdgeHandler
2015-12-06 13:34:16 +01:00
Michael Hackstein
498c4395df
Started moving ReplciationHandler to VPack
2015-12-06 12:57:58 +01:00
Michael Hackstein
8317982983
Fixed imports. Moved from .h to .cpp
2015-12-06 12:56:11 +01:00
Michael Hackstein
07dae24edb
Entirely removed TRI_json_t from VocbaseBaseHandler
2015-12-06 12:55:36 +01:00
Michael Hackstein
13a8f6871f
Fixes in RestImport handler. It failed in some malformed input formats
2015-12-06 01:04:38 +01:00
Michael Hackstein
e32b2e2d6f
Largely removed references to TRI_json_t in RestImportHandler. Only needs temporary TRI_json_t's to interact with transactions
2015-12-05 13:01:55 +01:00
Michael Hackstein
cc6283a349
Moved some references to TRI_json_t out of rest document handler
2015-12-04 18:18:15 +01:00
Michael Hackstein
4c2903ad44
Removed duplicated try {} catch in RestEdgesHandler
2015-12-04 18:17:26 +01:00
Michael Hackstein
c5979d4ab3
Added a general catch block for bad_alloc for all RestHandlers
2015-12-04 18:16:56 +01:00
Michael Hackstein
6ebf72ee60
Removed usage of TRI_json_t in RestDocumentHandler. Could not yet eliminate it as ClusterMethods are not yet VPack compatible
2015-12-04 17:56:53 +01:00
Michael Hackstein
4bfb0c018f
Removed now obsolete forward declaration of TRI_json_t
2015-12-04 17:26:25 +01:00
Michael Hackstein
712117e3ae
Reduced usage of TRI_json_t in RestEdgeHandler. Now only builds it to pass it to the transaction
2015-12-04 17:21:51 +01:00
Michael Hackstein
fd00792ac1
Removed TRI_json_t constructor from TraverserExpression. It is only possible to be build from VPack
2015-12-04 16:49:49 +01:00
Michael Hackstein
b137e9471e
The RestEdgesHandler now uses VPack instead of TRI_json_t
2015-12-04 16:45:29 +01:00
Jan Steemann
1a3ea99e95
fixed after signature changes
2015-12-04 15:52:40 +01:00
Max Neunhoeffer
60df924ac1
Change data structures for collections in Agency.
...
Snapshot, compiles, untested, needs new VelocyPack.
2015-12-04 15:08:47 +01:00
Jan Steemann
3b7cbef240
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-04 13:50:42 +01:00
Jan Steemann
5c033f566b
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-04 13:47:08 +01:00
Michael Hackstein
c60271d3c8
Fixed early optimizations of Cluster traversal filters, when document does not exist. Now behaves identical to single server and to execution without optimization
2015-12-04 13:30:40 +01:00
Michael Hackstein
3ea14e66a3
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-12-03 10:19:17 +01:00
Max Neunhoeffer
3821a775a3
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2015-12-02 14:48:04 +01:00
Max Neunhoeffer
3556f76469
Fix ClusterComm::asyncRequest w.r.t. body shared_ptr.
2015-12-02 14:15:18 +01:00
Michael Hackstein
e47ebdd48d
Fixed statistics reporting for AQL traversal in Cluster. The tests are green in cluster mode now.
2015-12-02 13:41:24 +01:00
Michael Hackstein
18db3bf681
The edges api now returns a stats property encapsulating how many items where scanned and how many where filtered
2015-12-02 11:38:51 +01:00
Michael Hackstein
1a13af6f36
Merged remote changes with local stash
2015-12-02 11:34:58 +01:00
Jan Steemann
eb8899d9ae
applied changes suggested by cppcheck
2015-12-02 10:17:14 +01:00
Jan Steemann
2bbcaa868f
fixed invalid memory usages
2015-12-01 16:48:55 +01:00
hkernbach
6d25ac57e9
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-12-01 11:25:58 +01:00
Jan Steemann
0dd207f9f5
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-01 11:14:12 +01:00
jsteemann
3a73ec1a52
optionally trigger auto-resync in case of "no start tick" issue
2015-12-01 01:22:19 +01:00
jsteemann
04e81ea851
more replication
2015-11-30 23:33:59 +01:00
jsteemann
37f72fa721
micro optimizations
2015-11-30 19:37:58 +01:00
Jan Steemann
f013c809ea
replication improvements
2015-11-30 18:27:31 +01:00
Michael Hackstein
2c61930752
Enabled the CXX RestEdges Handler in coordinator case as well
2015-11-30 15:10:13 +01:00
Michael Hackstein
e9a36a3fbf
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-11-30 14:17:44 +01:00
Michael Hackstein
43ac825241
The CXX Edges handler now first checks if the collection is an edge collection
2015-11-30 14:17:13 +01:00
Michael Hackstein
0ab087c764
Added an internal filter option for lookup-by-keys. It is used by AQL traversel to move vertex filtering to the server
2015-11-30 13:29:31 +01:00
Jan Steemann
4e33bda538
fixes for new replication features
2015-11-30 12:46:26 +01:00
Michael Hackstein
5a8b6ad721
Fixed out of scope when requesting edges in cluster
2015-11-27 16:24:08 +01:00
Jan Steemann
bd8b70455a
replication improvements
2015-11-27 16:16:15 +01:00
Michael Hackstein
07f772c758
Fixed potential memleaks and bad access in edges api
2015-11-27 11:20:54 +01:00
Jan Steemann
dea7a3f56f
fixed API
2015-11-26 17:41:58 +01:00
Michael Hackstein
7bf37620bb
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-11-26 16:32:26 +01:00
Michael Hackstein
7290507c25
Removed debug output
2015-11-26 16:01:26 +01:00
Michael Hackstein
d109a4e2aa
Filtered edges are now able to react to a list of expressions instead of only one expression. The list symbolises an AND
2015-11-26 11:38:09 +01:00
Michael Hackstein
38cf7dc8ed
First implementation of a filtered edges API. This is for cluster internal use only.
2015-11-26 09:26:46 +01:00
Jan Steemann
b6752faf0b
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-11-25 11:44:32 +01:00
Alan Plum
7538d71333
URL parameter -> {query,path} parameter
2015-11-24 18:09:43 +01:00
Jan Steemann
75e4e6e815
added transaction to all signatures
2015-11-24 17:34:23 +01:00
Michael Hackstein
bcd5813bb1
CXX RestEdgesHandler now actually returns a result. All tests are green now
2015-11-24 10:47:07 +01:00
Michael Hackstein
4c8c98524e
Fixed errorNum whenever the vertex-handle is incorrect
2015-11-24 10:30:16 +01:00
Michael Hackstein
430eb2fd07
First version of CXX RestEdgesHandler. Required for early filtering in Cluster Traversals
2015-11-24 10:23:35 +01:00
Jan Steemann
6192ff6ac1
fixed test
2015-11-23 12:41:17 +01:00
Jan Steemann
b08e1a76bc
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-11-23 12:06:29 +01:00
Jan Steemann
1bf5abaf14
changed HTTP return code for canceled operations from 408 to 410
2015-11-23 10:25:05 +01:00
Jan Steemann
89e0f887b9
velocypack update
2015-11-19 13:28:40 +01:00
Michael Hackstein
fbee0b0859
Started to transform Parts of AQL Query to VPack. Especially the QueryResult is now using VPack internally.
2015-11-12 11:09:35 +01:00
Michael Hackstein
c971dead79
Removed some TRI_json_t parts from the RestCursorHandler. But now it does not state anymore that it used the query cache
2015-11-10 17:18:47 +01:00
Jan Steemann
ccf75ab804
updated vpack library
2015-11-10 15:49:38 +01:00
Michael Hackstein
9055f629ba
Fixed forgotten close() of VelocyPack Objects
2015-11-10 14:35:33 +01:00
Michael Hackstein
d12daaaef7
Replaced TRI_Json_t in RestExportHandler by VelocyPack
2015-11-10 14:12:40 +01:00
Michael Hackstein
400059db93
Removed references to TRI_Json_t in RestSimpleQueryHandler
2015-11-10 10:50:55 +01:00
Michael Hackstein
b30a656c1e
Use VPackSlice::copyString in favor of rebuilding the string ourselfes
2015-11-10 10:49:59 +01:00
Jan Steemann
1506a6cd4a
fixed access to wrong value
2015-11-10 09:57:06 +01:00
Michael Hackstein
f6622011bf
Removed references to TRI_json_t in RestSimpleHandler
2015-11-10 09:56:14 +01:00
Michael Hackstein
1a84b49b3a
RestQueryHandler now uses VelocyPack input as well
2015-11-09 16:02:26 +01:00
Michael Hackstein
b003cf6de9
Merge branch 'vpack' of github.com:arangodb/arangodb into vpack
2015-11-09 15:37:12 +01:00
Michael Hackstein
ff2552a9b2
Further adoption of VelocyPack in RestQueryHanlder
2015-11-09 15:36:58 +01:00
Jan Steemann
9c471df56f
fixed compile warning
2015-11-09 15:33:39 +01:00
Michael Hackstein
34e4d461d0
RestQueryHandler uses the first VelocyPack parsed user input
2015-11-09 15:13:47 +01:00
Michael Hackstein
2ff01110f7
Added a option to VelocyPackify HTTP request bodies
2015-11-09 14:40:19 +01:00
Michael Hackstein
7555c2add0
Added a convenience OOM result builder in RestBaseHandler
2015-11-09 13:39:14 +01:00
Michael Hackstein
1d7b825462
Many parts of ReplicationHandler now use VelocyPack. Some parts interfere with the ReplicationApplier used in several places. Will be added later
2015-11-09 13:25:31 +01:00
Michael Hackstein
7fb1d9747c
Continue moving RestReplicationHandler to VPack
2015-11-09 12:50:09 +01:00
Michael Hackstein
f5ef995d16
The UploadHandler now uses VelocyPack instead of TRI_json_t
2015-11-09 11:20:32 +01:00
Michael Hackstein
769bcd8dfc
Started to replace TRI_json_t in RestReplication handler.
2015-11-09 11:15:44 +01:00
Michael Hackstein
1daca4f156
Constified generateResult in RestBaseHandler
2015-11-07 19:09:48 +01:00
Michael Hackstein
52e198b59f
Fixed a bug in RestDocumentHandler. One VelocyPack did result in an illegal representation
2015-11-07 19:06:38 +01:00
Michael Hackstein
bedb61ea49
Removed cast for size_t in VPack. It is different in Mac and Linux but now VPack supports both natively
2015-11-07 18:51:31 +01:00
Michael Hackstein
22a7d1e49a
The rest Query Handler now uses VelocyPack in most places. One place still missing...
2015-11-06 16:17:49 +01:00
Michael Hackstein
ede603b74a
QueryCache and it's RestHandler now use VelocyPack
2015-11-06 15:43:47 +01:00
Michael Hackstein
0b2d40ef1d
RestImportHandler now uses VelocyPack instead of TRI_json_t*
2015-11-06 15:28:21 +01:00
Michael Hackstein
e20f0d9f11
RestDocumentHandler now uses VelocityPack instead of TRI_json_t
2015-11-06 15:12:24 +01:00
Michael Hackstein
42cf09e7f0
The RestVersionHandler now uses VPack instead of TRI_json_t
2015-11-06 15:02:13 +01:00
Michael Hackstein
454b3f0d7a
The ShutdownHandler now uses VelocityPack instead of TRI_json_t
2015-11-06 14:39:50 +01:00
Michael Hackstein
aff851ec81
The RestJobHandler now uses VelocyPack generateResult instead of TRI_json_t*
2015-11-06 14:22:06 +01:00
Michael Hackstein
bcc79cc1cf
AdminLogHandler and DebugHelperHandler now use generateResult for VelocyPack insted of TRI_json_t
2015-11-06 14:10:59 +01:00
Michael Hackstein
746c1a2573
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2015-11-06 12:43:03 +01:00
Jan Steemann
cb60466228
removed useless RestAdminBaseHandler layer
2015-11-06 12:42:02 +01:00
Michael Hackstein
bc76a8999c
RestBaseHandler now uses VelocyPack internally
2015-11-06 12:38:45 +01:00
Michael Hackstein
0a08c31b95
The first function now uses VelocyPack. Yay
2015-11-06 11:40:04 +01:00
Jan Steemann
b692cae352
never respond with empty error messages
2015-11-05 11:23:26 +01:00
Jan Steemann
aa3039cece
fixes for cluster tests
2015-10-20 18:10:53 +02:00
Wilfried Goesgens
15b1d7cfd5
Migrate sub-structured replies to swagger2 preproc docu style
2015-09-18 17:02:53 +02:00
jsteemann
53106f22b1
fixed leak
2015-09-17 14:05:30 +02:00
Wilfried Goesgens
b06d03e84f
Cleanup documentation for remaining @-tags
2015-09-17 11:15:33 +02:00
jsteemann
0196dc0f51
documentation fixes
2015-09-16 19:58:59 +02:00
Jan Steemann
7eb93821a7
explicit
2015-09-16 17:15:37 +02:00
Wilfried Goesgens
70a2c74c1b
Update RESTAPI documentation handling to work with the swagger 2 api
...
- use the structures from the swagger for post / reply structures
- add missing documentation snippets to their respective places
- fix syntax of documentation blocks
2015-09-16 16:35:13 +02:00
Jan Steemann
dc7ac83354
incremental sync fixes
2015-09-15 14:20:08 +02:00
Jan Steemann
75ccd7e2cc
fixed incremental sync method
2015-09-14 17:44:12 +02:00
Jan Steemann
e08d840b47
replication API documentation
2015-09-14 15:30:00 +02:00
Wilfried Goesgens
176b150c46
Implement possibility to add reply grammers via the documentation.
2015-09-14 10:49:28 +02:00
Jan Steemann
3f68ea3da0
Merge branch 'devel' of https://github.com/arangodb/arangodb into replication-sync-collections
2015-09-11 17:16:06 +02:00
Jan Steemann
d7a3b51e1b
additional sync method
2015-09-11 17:13:31 +02:00
Jan Steemann
b0a924c5a8
sync
2015-09-11 11:56:38 +02:00
Willi Goesgens
ac2acabd5d
Work on formatting and grammer
2015-09-11 11:25:34 +02:00
Jan Steemann
41844d2b1e
fixed typos
2015-09-11 10:32:37 +02:00
Jan Steemann
bead727a32
initial work for better incremental synchronization
2015-09-10 18:17:58 +02:00
Willi Goesgens
778d2c84cb
Work on sub-structured data to be propper formatted for swagger.
2015-09-10 10:57:42 +02:00
Jan Steemann
f077af1594
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-09-09 17:43:38 +02:00
Jan Steemann
6e290db783
fixed typos
2015-09-09 17:43:34 +02:00
Willi Goesgens
e1ae661ae0
Work on multi-dimensional swagger post data
2015-09-09 17:40:51 +02:00
Willi Goesgens
eb9e03f3f0
Upgrade the REST-API documentation to to swagger V2.0
...
Wrap lines in examples.
2015-09-09 15:21:18 +02:00
Jan Steemann
0735277830
removed IndexWatermarks again... not needed
2015-09-09 14:22:58 +02:00
CoDEmanX
8aa78dcb7f
Fix some more typos
2015-09-05 17:18:04 +02:00
Jan Steemann
e602ca5662
issue #1471 : document() vs documents() parameters (_key and _id)
2015-09-04 18:13:23 +02:00
CoDEmanX
3a9648d78a
More Americanization
2015-09-03 22:25:43 +02:00
CoDEmanX
b4593a7e82
Change spelling of 'initialize' to American English (comments and log messages only)
2015-09-01 17:07:21 +02:00
Jan Steemann
f4c542795c
getIndexes(true)
2015-08-26 09:48:48 +02:00
Jan Steemann
9374a25822
removed unused error code
2015-08-25 19:55:48 +02:00
Jan Steemann
52af8c5781
added comments
2015-08-25 13:16:07 +02:00
Jan Steemann
1af238a6d5
added tests for requireFromIncluded
2015-08-25 12:50:58 +02:00
Jan Steemann
37da76546c
re-introduced tracking of replication "clients"
2015-08-24 12:02:57 +02:00
Jan Steemann
b08713d768
added tests and documentation
2015-08-24 11:05:26 +02:00
Jan Steemann
9e08b1ebc5
add tickRanges() function
2015-08-21 17:00:32 +02:00
Jan Steemann
31a6547d4c
fix replication resumption
2015-08-21 15:57:24 +02:00
Jan Steemann
f0ef3d450f
refactoring
2015-08-20 18:25:47 +02:00
Jan Steemann
1be3733a64
moved some handlers around
...
fix disappeared handlers
2015-08-20 01:26:52 +02:00
Jan Steemann
ea382e1f4c
removed triagens::rest::Handler
2015-08-20 01:26:50 +02:00
Jan Steemann
f587b2ca6a
replication refactoring
2015-08-19 16:13:53 +02:00
Jan Steemann
878641f674
some replication refactoring
2015-08-19 15:32:24 +02:00