1
0
Fork 0
Commit Graph

7425 Commits

Author SHA1 Message Date
Max Neunhoeffer 8ce0a484e1 Fix graph traversal tests, behaviour and documentation. 2015-12-21 15:20:56 +01:00
Max Neunhoeffer e0a527eb5d Fix arangodump in cluster. 2015-12-21 11:53:37 +01:00
Max Neunhoeffer b37c8fb5a2 Fix js/common/tests/shell-collection.js in cluster. 2015-12-21 11:05:02 +01:00
Jan Steemann eb7ed34519 potential fix for _hasActiveExternals 2015-12-21 10:42:12 +01:00
Jan Steemann 4435a6f392 randomly shuffle V8 contexts 2015-12-21 10:28:56 +01:00
Jan Steemann ba52741a55 adapted compaction status messages 2015-12-21 10:28:52 +01:00
Max Neunhoeffer 9d303b69d7 Merge branch 'devel' into vpack 2015-12-21 09:47:42 +01:00
Max Neunhoeffer 0cf659aca2 Allow to set id at collection creation in cluster. 2015-12-21 09:46:50 +01:00
jsteemann a41f65b0ca optimizer simplifications 2015-12-21 01:43:16 +01:00
jsteemann 50818d9c80 simplifications 2015-12-18 23:54:14 +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 3cfd8214a9 handle id and isSystem when creating collections 2015-12-18 20:16:39 +01:00
Jan Steemann 36eac6ffd0 fixed index selection in some queries 2015-12-18 20:16:09 +01:00
Michael Hackstein 642a6261f2 Added a proper selectivity estimate for traversal nodes. 2015-12-18 18:02:13 +01:00
Michael Hackstein c00d0cbc4d Improved stability of AQL Traverser. Also added checks for illegal edge cases 2015-12-18 16:17:09 +01:00
Jan Steemann 8053911c39 tests for issue #1583 2015-12-18 12:15:52 +01:00
Jan Steemann c701a8e66e Merge branch 'vpack' of https://github.com/arangodb/arangodb into vpack 2015-12-18 12:13:17 +01:00
Jan Steemann ba2ed30093 fix collection creation 2015-12-18 11:35:15 +01:00
Michael Hackstein 5856fe9a40 Fixed state export in replication applier. 2015-12-18 10:17:02 +01:00
Richard Parker aa9115886d Merge branch 'geoindex' into devel
This adds Richards new cursor implementation.
2015-12-18 08:56:20 +00:00
Michael Hackstein a46dbff097 Merge branch 'vpack' of github.com:arangodb/arangodb into vpack 2015-12-18 09:35:01 +01:00
Michael Hackstein 506c8f9be2 Constified the keyOptions buffer. No one should ever change it's content once it is stored in the VocbaseCollectionInfo. 2015-12-18 09:34:56 +01:00
Jan Steemann e56d385c5e fixed undefinedness 2015-12-17 18:31:11 +01:00
Jan Steemann e8084e3ef4 Merge branch 'vpack' of https://github.com/arangodb/arangodb into vpack 2015-12-17 15:45:53 +01:00
Jan Steemann 7dd4cab103 potential fix for server start 2015-12-17 15:40:20 +01:00
Michael Hackstein d99a6977b5 Fixed illegal access to empty buffer 2015-12-17 15:26:06 +01:00
Michael Hackstein 4907eaf66c Fixed wrong usage of V8ToVPack 2015-12-17 15:21:37 +01:00
Michael Hackstein 3c4643993d Fixed JS constructor for Edge Collections. The collection did not mention that it wants to be an edge collection 2015-12-17 15:06:20 +01:00
Jan Steemann 1faaaa0632 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-17 14:41:24 +01:00
Michael Hackstein c49876bf23 Fixed uninitialized access in VocbaseCollectionInfo constructor 2015-12-17 14:41:13 +01:00
Michael Hackstein 119a7fdee3 Fixed uninitialized access in VocbaseCollectionInfo constructor 2015-12-17 14:36:44 +01:00
Michael Hackstein cd93e959bd Fixed compiler warnings 2015-12-17 14:07:55 +01:00
Michael Hackstein c7b327e7de Fixed access to uninitialized variables 2015-12-17 14:03:43 +01:00
Wilfried Goesgens e908be8cd4 fix style 2015-12-17 13:39:05 +01:00
Michael Hackstein 46b9ac5c53 Fixed collection constructor from name 2015-12-17 13:24:45 +01:00
Michael Hackstein c6ae901487 Merge branch 'vpack' of github.com:arangodb/arangodb into vpack 2015-12-17 12:41:53 +01:00
Michael Hackstein b992423d1e Changed default type value for collections if not given in the JSON object on disc 2015-12-17 12:41:40 +01:00
Jan Steemann ad45a4b254 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-17 12:31:14 +01:00
Jan Steemann b76c61adb1 \0 fix 2015-12-17 12:28:16 +01:00
Michael Hackstein 002c876858 Fixed nullptr exception for keyOptions. 2015-12-17 11:35:08 +01:00
Michael Hackstein f708becba1 Fixed VPack parser error during startup 2015-12-17 11:31:20 +01:00
Jan Steemann 2b3f3f997b Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-17 10:59:30 +01:00
jsteemann ead2ee47e7 issue #1409: fix NUL-byte handling 2015-12-17 10:54:24 +01:00
Jan Steemann 164741f144 improved diagnostic message 2015-12-16 19:52:31 +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 73f3ddc753 Finished with first move to VocbaseCollectionInfo class. This commit compiles but it is untested. 2015-12-16 19:03:07 +01:00
Michael Hackstein e40679e4b5 Integrated the new VocbaseCollectionInfo in Document-collection 2015-12-16 18:59:03 +01:00
Michael Hackstein d506300568 Integrated the new VocbaseCollectionInfo in VocShaper 2015-12-16 18:58:49 +01:00
Michael Hackstein cad674549e Integrated the new VocbaseCollectionInfo in Vocbase main 2015-12-16 18:58:34 +01:00
Michael Hackstein c2eb6553ae The web of TRI_col_info_t is increasing... 2015-12-16 18:56:54 +01:00
Michael Hackstein a1c66851da Further adoptions to the VocbaseCollectionInfo class in V8Server 2015-12-16 18:53:47 +01:00
Michael Hackstein f9f7c02772 Simple adoptions to VocbaseCollectionInfo class 2015-12-16 18:53:20 +01:00
Wilfried Goesgens 1914fefc48 remove unused code path 2015-12-16 17:31:04 +01:00
Wilfried Goesgens 9d1f861736 Fix memory management of traverser expression. 2015-12-16 17:07:17 +01:00
Jan Steemann 573ba54da2 fixed typo 2015-12-16 12:04:27 +01:00
Jan Steemann 35eda37ab1 make_unique 2015-12-16 11:54:33 +01:00
Michael Hackstein 41d7fbb803 First draft of class implementation of TRI_col_info_t 2015-12-16 11:46:55 +01:00
Michael Hackstein 7f0792ab9b Started adapting the V8Server file to class version of TRI_col_info_t 2015-12-16 11:46:18 +01:00
Jan Steemann 8e18d6463f Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-12-16 11:44:56 +01:00
Michael Hackstein c475822a76 Adapted V8Traverser to class version of TRI_col_info_t 2015-12-16 11:43:44 +01:00
Michael Hackstein bec87a0ef8 Adapted utils to class version of TRI_col_info_t 2015-12-16 11:43:12 +01:00
Michael Hackstein b543680cca Adapted resthandler to class version of TRI_col_info_t 2015-12-16 11:42:59 +01:00
Michael Hackstein f5bd11bda5 Adapted replication to class version of TRI_col_info_t 2015-12-16 11:42:39 +01:00
Michael Hackstein 37b4d2739b Adapted indexes to class version of TRI_col_info_t 2015-12-16 11:42:26 +01:00
Michael Hackstein ef3889363f Adapted cluster communication to class version of TRI_col_info_t 2015-12-16 11:42:02 +01:00
Michael Hackstein 5e4efc7267 Updated AQL to class verison of TRI_col_info_t 2015-12-16 11:38:33 +01:00
Jan Steemann a694b7ef48 make_unique 2015-12-16 11:36:35 +01:00
Wilfried Goesgens da57d31488 Implement de/serializing of filters in traversalnodes 2015-12-16 11:17:38 +01:00
Max Neunhoeffer 5a350b4391 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-12-16 10:59:18 +01:00
Max Neunhoeffer 98fa31818a Cleanup. 2015-12-16 10:59:10 +01:00
Michael Hackstein 2867ff1eb4 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-12-16 10:52:08 +01:00
Michael Hackstein e6e66d4469 Fixed a bug in Traversal Path Uniqueness. 2015-12-16 10:51:54 +01:00
Max Neunhoeffer 1a0687a07a Fix move constructor and move assignment operator for CollectionInfo. 2015-12-16 10:41:11 +01:00
Max Neunhoeffer c376200978 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2015-12-16 10:29:50 +01:00
Max Neunhoeffer b337d9bd29 Fix shared_ptr<CONTAINER> direct-use in for bug. 2015-12-16 10:29:23 +01:00
Jan Steemann 65ede56176 make constructor explicit 2015-12-16 10:08:48 +01:00
Jan Steemann acf2dcf7b5 fixed leak 2015-12-16 10:08:21 +01:00
Richard Parker 93c59c81b1 Cursors seem to be working 2015-12-16 08:50:12 +00:00
Max Neunhoeffer 0198b4576b Merge branch 'devel' into ClustUp1 2015-12-15 20:40:52 +01:00
jsteemann 1e98af01ba set cloexec for file descriptors 2015-12-15 20:30:28 +01:00
jsteemann 8003ea7d74 fixed undefined variable warning 2015-12-15 20:12:50 +01:00
jsteemann 086fc073cf cppcheck 2015-12-15 19:35:51 +01:00
Max Neunhoeffer 754762c277 Fix improvement of memory management for ClusterComm. 2015-12-15 18:24:26 +01:00
Max Neunhoeffer 74b147bb20 Improve memory management in ClusterComm library. 2015-12-15 18:09:55 +01:00
Michael Hackstein fbbe4d08cd Implemented edges on path uniqueness on single server traversal 2015-12-15 18:04:28 +01:00
Michael Hackstein f589308bd0 Implemented unique edges on path for AQL traversal in cluster case 2015-12-15 18:04:14 +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
Michael Hackstein 5e332fa4b5 Adapted CXX function AQL EDGES to work with documents / Arrays as well. Similar to the old JS version 2015-12-15 16:38:45 +01:00
Michael Hackstein cd7b249e07 Fixed Cxx implementation of EDGES to be able to handle Edges 2015-12-15 16:38:03 +01:00
Jan Steemann ad8381ad6a Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-15 16:37:33 +01:00
Jan Steemann 8ed8681505 updated module name 2015-12-15 16:15:26 +01:00
Richard Parker c96599b7ce After testing 2.2 a bit 2015-12-15 15:05:22 +00:00
Jan Steemann 602e321058 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-12-15 15:56:13 +01:00
Jan Steemann 442b614fb5 documentation update 2015-12-15 15:54:58 +01:00
Alan Plum 8853ede355 org/arangodb -> @arangodb 2015-12-15 15:51:44 +01:00
Jan Steemann b123ffbe26 issue #1610 2015-12-15 15:41:50 +01:00
jsteemann a864a7afcf set close bit for file descriptor 2015-12-15 13:45:25 +01:00
Jan Steemann f8cf665a8a delete connectionmanager on shutdown 2015-12-15 13:21:24 +01:00
Jan Steemann 223c44d572 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-15 12:02:47 +01:00
Max Neunhoeffer 8a69ca5367 Merge branch 'devel' into ClustUp1 2015-12-15 09:23:51 +01:00
Jan Steemann 84fae4ebcb Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-14 18:16:30 +01:00
Wilfried Goesgens f51e5efb34 Implement tests for de/serializing of TraversalNodes. 2015-12-14 18:07:04 +01:00
Jan Steemann 1b86f280de small issues 2015-12-14 17:54:46 +01:00
Jan Steemann 8e7ac689a2 issue #1606: fail gracefully on invalid index definitions 2015-12-14 16:58:05 +01:00
Max Neunhoeffer 5bf896c51f Fix if-match forwarding bug in getDocumentOnCoordinator. 2015-12-14 16:17:13 +01:00
Max Neunhoeffer 6ca9bd4e70 Improve ClusterComm pointer usage. 2015-12-14 14:27:04 +01:00
Max Neunhoeffer 525e54d5a0 Merge branch 'devel' into ClustUp1 2015-12-14 11:26:10 +01:00
Max Neunhoeffer 7641feeb88 Fix ClusterComm library w.r.t. pointers. 2015-12-14 11:22:30 +01:00
Jan Steemann b40f95512f fix memleak 2015-12-14 11:02:57 +01:00
jsteemann db746389f8 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-14 00:12:36 +01:00
jsteemann 51c267cd2a dont optimize in certain cases when its useless 2015-12-14 00:12:14 +01:00
jsteemann fd29ccdbc5 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-13 23:37:22 +01:00
jsteemann 600c48375d added optimizer rule `sort-in-values` 2015-12-13 23:33:44 +01:00
Max Neunhoeffer af4d729284 The ClusterComm C++11 revolution. 2015-12-11 23:26:10 +01:00
jsteemann 4a62f3d389 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-11 18:38:30 +01:00
Wilfried Goesgens 5ea0fe49b1 Multi -purpose- -> model 2015-12-11 18:22:23 +01:00
Jan Steemann caab98de0a use empty() 2015-12-11 17:20:12 +01:00
Jan Steemann a2940b20ca fixed leak in ExampleMatcher 2015-12-11 17:15:45 +01:00
Jan Steemann 43eff8f0e9 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-11 16:33:35 +01:00
Jan Steemann 5ae891ac20 fix for issue #1603 2015-12-11 16:24:33 +01:00
Jan Steemann 2bdbb13e2c Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-11 14:13:36 +01:00
Max Neunhoeffer 95b311f802 Merge branch 'devel' into ClustUp1 2015-12-11 13:33:33 +01:00
jsteemann 18e47457a6 fixes 2015-12-11 13:29:18 +01:00
Max Neunhoeffer c11ec07564 Merge branch 'devel' into ClustUp1 2015-12-11 13:28:07 +01:00
Wilfried Goesgens 8c1d6efaaf Improve error message 2015-12-11 13:02:23 +01:00
Michael Hackstein de680bb8bb Merge branch 'vpack' of github.com:arangodb/arangodb into vpack 2015-12-11 09:31:03 +01:00
Michael Hackstein ba1a520e8c Fixed a bug in Vocbase collection to VPack. It did not include the collection properties properly 2015-12-11 08:35:44 +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
Jan Steemann 09d34087ea rename ditch type 2015-12-10 17:13:11 +01:00
Michael Hackstein 2520874c03 Preparation to remove TRI_json_t from Traversers. But has to many side effects to be removed in one pass 2015-12-10 16:43:08 +01:00
Michael Hackstein c959072733 Adaption to new vocbase-defaults format 2015-12-10 16:42:13 +01:00
Michael Hackstein 3f029d29c7 Refactoring of vocbase-defaults. It now uses VPack instead of TRI_json_t and it uses Class functions instead of global functions 2015-12-10 16:41:47 +01:00
Michael Hackstein eb417a2ef3 Removed TRI_json_t from vocbase main file 2015-12-10 15:30:36 +01:00
Michael Hackstein 1a33c10557 Removed TRI_json_t from Vocbase/auth and did some refactoring in the internals there. Bye Bye CORE_MEM_ZONE 2015-12-10 14:08:49 +01:00
Max Neunhoeffer d5eaccbfe5 Merge branch 'devel' into ClustUp1 2015-12-10 11:35:08 +01:00
Michael Hackstein 622fafa0fc Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2015-12-10 11:13:42 +01:00
Michael Hackstein e4f38929b5 Removed TRI_json_t from ApplicationEndpointServer 2015-12-10 11:11:16 +01:00
Michael Hackstein b492b154d8 Added a velocyPackFromFile to the VelocyPackHelper 2015-12-10 11:02:19 +01:00
Jan Steemann a36e4827c7 build fix 2015-12-10 10:43:59 +01:00
Michael Hackstein 1af985003d Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2015-12-10 10:26:14 +01:00
Michael Hackstein 84bfb63a73 Style fix 2015-12-10 00:13:06 +01:00
Max Neunhoeffer ea72850aeb Fix bug in client tests. 2015-12-09 23:13:26 +01:00
Jan Steemann ab3f27b3ee fix for unload handling 2015-12-09 19:24:10 +01:00