1
0
Fork 0
Commit Graph

7809 Commits

Author SHA1 Message Date
Jan Steemann 3dc247e18b fixed segfault 2016-01-25 14:20:06 +01:00
Jan Steemann 7800085a9b unified behavior of `RANGE` function 2016-01-25 14:19:49 +01:00
Jan Steemann 31bdc67d12 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-01-25 13:47:57 +01:00
Jan Steemann 47b77150f3 more trace logging 2016-01-25 13:47:21 +01:00
Kaveh Vahedipour 720c55fd4c Merge branch 'devel' of https://github.com/arangodb/arangodb into cmakification 2016-01-25 13:47:10 +01:00
Michael Hackstein a3f0d2e279 Merge branch 'vpack' of github.com:arangodb/arangodb into devel 2016-01-25 13:09:05 +01:00
Michael Hackstein 5b2062b4e4 Removed legacy toJson function from Index.h. All callers now use VelocyPack directly 2016-01-25 11:42:31 +01:00
Kaveh Vahedipour 2c119d0550 Merge branch 'devel' of https://github.com/arangodb/arangodb into cmakification 2016-01-25 11:31:57 +01:00
Jan Steemann 5e87baa131 renamed methods (thanks M$ for redefining free in debugging) 2016-01-25 11:03:44 +01:00
Michael Hackstein 5b48989e8b Fixed bug in agency. Index was not read correctly 2016-01-25 10:42:23 +01:00
Kaveh Vahedipour 180eae9186 Merge branch 'devel' of https://github.com/arangodb/arangodb into cmakification 2016-01-25 09:14:06 +01:00
Michael Hackstein 0fba63e43f arangod/Indexes are now JSON / TRI_json_t free 2016-01-24 14:34:42 +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 d37cea7644 Replaced TRI_json_t in HashIndex by VelocyPack 2016-01-24 11:17:51 +01:00
Michael Hackstein e39a43ef43 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-24 10:38:48 +01:00
Frank Celler 764a95ea2a switch to testing.js, moved testing.js to client 2016-01-23 21:07:42 +01:00
jsteemann 904a85a27e less re-allocations 2016-01-23 17:26:11 +01:00
jsteemann 9ba3b68109 cppcheck 2016-01-23 16:22:39 +01:00
Jan Steemann cf560a473d fix undefined behavior 2016-01-22 15:34:36 +01:00
Michael Hackstein b31cc0ba15 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-22 13:36:47 +01:00
Jan Steemann 9beeb09f37 fix out-of-memory situations 2016-01-22 13:24:33 +01:00
Michael Hackstein 7ef829ae63 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-22 13:16:39 +01:00
Frank Celler d3330bdf9b fixed temp path to honor TMPDIR 2016-01-22 13:16:25 +01:00
jsteemann 0a12bd2732 more diagnosis 2016-01-22 00:58:36 +01:00
Jan Steemann 6b19a7b0a7 fixes ported from 2.8 2016-01-21 16:40:31 +01:00
Michael Hackstein 191c2dc3a9 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-21 16:29:38 +01:00
Kaveh Vahedipour 5679410317 Building on OSX 2016-01-21 15:17:43 +01:00
Michael Hackstein b04f1bf9e2 Replaced IndexOperators using TRI_json_t by Operators using VPack. 2016-01-21 14:07:36 +01:00
Jan Steemann 219da94986 fix some locks 2016-01-21 13:01:31 +01:00
Michael Hackstein 381eb1e876 Replaced creation of IndexOperators to use VelocyPack in SkiplistIndex 2016-01-21 11:22:25 +01:00
Michael Hackstein 287aadb22c Fixed a bug when creating a new database with users. 2016-01-21 11:00:17 +01:00
Jan Steemann d03a8376a4 catch exception 2016-01-21 09:55:17 +01:00
Jan Steemann 58410da019 another fix for Visual Studio 2016-01-21 09:53:11 +01:00
Jan Steemann 25abd4f717 fixes for Visual Studio 2016-01-21 09:46:26 +01:00
Michael Hackstein 0605338d5e Fixed a non closed VPackBuilder 2016-01-21 09:36:24 +01:00
Michael Hackstein 2fba2a5cd2 Added a VelocyPack wrapper to create Index Operators 2016-01-21 08:06:00 +01:00
Michael Hackstein bc40bcfdfc Added a wraper function for AstNodes to export VPack instead of TRI_json_t 2016-01-21 07:52:49 +01:00
jsteemann 6f0be080fa unification of sub-thread naming 2016-01-21 00:51:51 +01:00
jsteemann 379abd64c3 removed outdated upgrading function 2016-01-21 00:29:56 +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
jsteemann 1c557d8200 class has virtual methods, so add virtual dtor, too 2016-01-20 20:14:51 +01:00
Michael Hackstein 1178d42004 Removed TRI_json_t from Index Constructors and replaced it by VelocyPack. SingleServerTests pass. Some clister tests fail 2016-01-20 16:19:24 +01:00
Michael Hackstein 77b12f872f Explicitly deleted TRI_Json_t sending requests in Agency. To avoid invoking the wrong function again 2016-01-20 14:47:56 +01:00
Michael Hackstein 09d041f303 Fixed Cluster error for dropping Indexes. Nasty and hard to find Error, compiler autocasted pointer to bool und actually called the wrong function. 2016-01-20 14:21:44 +01:00
Michael Hackstein 636d284607 Removed debug output 2016-01-20 14:20:50 +01:00
Jan Steemann 806bdaa7b2 better error handling 2016-01-20 14:04:10 +01:00
Jan Steemann 1e847fbb0a please the Visual Studio 2016-01-20 14:03:54 +01:00
Jan Steemann 1e253171e9 use TRI_DEFER 2016-01-20 14:03:34 +01:00
Michael Hackstein 3c6ac9f38f Removed all TRI_json_t inputs to AgencyComm and replaced them by VPack. This commit stil has an error s.t. indexes cannot be dropped in Cluster. WIP. 2016-01-20 12:53:55 +01:00
Jan Steemann d4f45c4923 do not acquire read-lock twice 2016-01-20 11:41:38 +01:00
Jan Steemann da3d9d3966 removed unused function 2016-01-20 11:02:11 +01:00
Jan Steemann 541cc98f6b don't ftruncate 2016-01-20 10:53:08 +01:00
Jan Steemann ec17068875 warn when closing a datafile fails 2016-01-20 09:44:45 +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 1edd5b3007 Now AgencyComm only communicates via VPack to Agency. A mix of TRI_json_t and VPack is impossible do to different ordering when comparing values 2016-01-19 15:37:48 +01:00
Michael Hackstein 1fc685e557 Fixed unitialized warning of compiler. Situation could never occur 2016-01-19 15:08:57 +01:00
Frank Celler ff11db7b78 added threadNumber to identify a thread 2016-01-19 13:57:30 +01:00
Jan Steemann c36dd64e38 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-01-19 11:50:55 +01:00
Jan Steemann c8f16f8833 switched to std::vector 2016-01-19 11:50:39 +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
Wilfried Goesgens 436273d851 comment out windows heap debugger - its to slow. 2016-01-19 09:39:49 +01:00
jsteemann d1f58b5f64 removed unreachable code 2016-01-19 00:20:04 +01:00
jsteemann e794ff8651 Merge branch 'compaction' of https://github.com/arangodb/arangodb into devel 2016-01-18 22:06:57 +01:00
jsteemann 29cec1e86c removed outdated TODO comment 2016-01-18 22:06:43 +01:00
jsteemann 41b18ade20 fixed stats 2016-01-18 21:18:46 +01:00
Jan Steemann 82c98dc11f debugging 2016-01-18 18:33:48 +01:00
Jan Steemann 5daa529404 compaction fix attempt II 2016-01-18 18:24:25 +01:00
Jan Steemann cec57dcf32 adjusted signature 2016-01-18 17:37:41 +01:00
Jan Steemann f059b0e5f7 fixed index lookup issues 2016-01-18 17:35:54 +01:00
Wilfried Goesgens c34d74933b Replace namespace in grammer.y too. 2016-01-18 17:19:38 +01:00
Wilfried Goesgens 5f4eab14e1 set flag to command windows to thouroughly check heap allocations. 2016-01-18 12:27:16 +01:00
Jan Steemann 87667edc6a fixed grammar 2016-01-18 09:40:12 +01:00
Michael Hackstein 8a1b105986 Increasing versions in AgencyComm now uses VelocyPack (breaking change, uint64_t is not stored as strings any more 2016-01-17 12:39:43 +01:00
Michael Hackstein b2b73bc57d Server State in Cluster is now send as VelocyPack 2016-01-17 12:31:31 +01:00
Michael Hackstein c76c7df2aa Cluster Version counter nwo use VPack internally 2016-01-17 12:28:19 +01:00
Michael Hackstein bb4e1156ad AgencyLocker now internally uses VPack instead of TRI_json_t 2016-01-17 12:22:05 +01:00
jsteemann 431900f17a changed namespace from triagens to arangodb 2016-01-17 00:44:53 +01:00
jsteemann 03c4a4fb23 renamed optimizer rule for collect optimization 2016-01-17 00:07:13 +01:00
jsteemann 2b8cf7da62 speed up LENGTH() aggregation a bit 2016-01-16 23:53:11 +01:00
Michael Hackstein fc8b45b06f Parsing the result in cluster is now done through VPack 2016-01-16 23:43:02 +01:00
Michael Hackstein e1a63aa5a0 Agency comm errorCode und Message are now parsed via VelocyPack. 2016-01-16 23:24:36 +01:00
jsteemann 10d84ae525 simplification of COLLECT variants 2016-01-16 22:46:05 +01:00
jsteemann 4abf96e1db removed special case for COLLECT INTO var = expr 2016-01-16 20:20:44 +01:00
Michael Hackstein 8f0de79d18 Make clearFailAt always available again, not only in Maintainer-mode 2016-01-16 18:19:30 +01:00
Michael Hackstein 341eda3d4f Removed obsolete function 2016-01-16 15:34:30 +01:00
Michael Hackstein aa1b1f499a Merge branch 'vpack' of github.com:arangodb/arangodb into devel 2016-01-16 15:21:25 +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 583bc90626 fixed leak 2016-01-15 16:27:36 +01:00
Michael Hackstein f3806171f5 Reduced occurences of TRI_json_t in Cluster Code 2016-01-15 15:32:47 +01:00
Michael Hackstein 0371083fd0 Added a function to compare two VelocyPacks which is compatible to the old compare two shaped json values. 2016-01-15 13:42:03 +01:00
Michael Hackstein 212b3752b1 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-15 10:58:20 +01:00
Michael Hackstein f1ee6cb4e1 Merge branch 'vpack' of github.com:arangodb/arangodb into vpack 2016-01-15 10:57:23 +01:00
Jan Steemann 31b4de2acb removed unused RestHandler 2016-01-15 10:27:31 +01:00
Jan Steemann 9e979db56a Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-01-15 10:22:51 +01:00
Jan Steemann 7b4bf30c38 fixed differing behavior in NEIGHBORS() implementations 2016-01-15 10:22:23 +01:00
Frank Celler b446f4edd6 fixed type 2016-01-15 10:20:47 +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
jsteemann 2ae325fd4e removed some of those "using namespace" directives 2016-01-14 23:21:39 +01:00
jsteemann 44e9a0d8bc remove deletion-count as reason for compaction 2016-01-14 22:54:45 +01:00
Jan Steemann f1b0114e89 fixed leak 2016-01-14 17:56:57 +01:00
Michael Hackstein c3d4a5338a Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-01-14 17:44:59 +01:00
Jan Steemann 5582ae0515 fixed misleading error message 2016-01-14 17:35:07 +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 84ad532078 REmoved TRI_json_t from WAL 2016-01-14 12:44:23 +01:00
Jan Steemann d2c349b8b5 statistics fix 2016-01-14 11:10:01 +01:00
Michael Hackstein ad8fa5c63a Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-14 09:23:10 +01:00
Michael Hackstein 78d9c6643a Removed some TRI_json_t in v8-collection 2016-01-14 09:18:11 +01:00
Frank Celler 89ca0ffae1 added work monitor call 2016-01-13 18:10:51 +01:00
Michael Hackstein 2029d185be Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-13 17:20:32 +01:00
Jan Steemann 8404d0eac1 better OOM handling in ThreadPool constructor 2016-01-13 16:19:53 +01:00
Michael Hackstein 9f24c7ad2f Removed TRI_json_t from VocBase/document-collection. YaY 2016-01-13 15:55:46 +01:00
Michael Hackstein 95424f16ca Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-13 15:34:26 +01:00
Jan Steemann c577b8616e allow killing of Collect operations 2016-01-13 13:47:46 +01:00
Michael Hackstein f4f9b40da6 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-13 13:06:49 +01:00
Michael Hackstein 45567db7ef Removed last reference to FromJsonIndex in Syncer. On the fly reduced usage of TRI_json_t. 2016-01-13 13:06:38 +01:00
Wilfried Goesgens 0765ef7b45 Mark internal apis in their documentation. 2016-01-13 12:51:43 +01:00
Michael Hackstein 98fdb95932 Modified OpenIndexIterator to use VelocyPack instead of TRI_json_t 2016-01-13 11:29:18 +01:00
Jan Steemann 985c51cf72 fixed undefined behavior 2016-01-13 11:17:08 +01:00
Michael Hackstein 09ffbabf06 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-13 10:51:41 +01:00
Michael Hackstein 848f807499 Entirely removed TRI_json_t from server.cpp 2016-01-13 10:47:55 +01:00
Michael Hackstein 69f4f974d3 Vocbase server now stores VPack instead of TRI_json_t 2016-01-13 10:25:52 +01:00
jsteemann 59a8cd13dc more aggregate functions 2016-01-13 01:36:50 +01:00
Jan Steemann bb3703cf9e fix recovery 2016-01-12 20:47:02 +01:00
Jan Steemann a119837c3e fixed journalSize handling for collections 2016-01-12 19:41:39 +01:00
Jan Steemann 6ac3b964ff fixed collection creation 2016-01-12 19:25:13 +01:00
Jan Steemann fd7a03980e renamed 2016-01-12 19:25:05 +01:00
Jan Steemann a08be0f0ff removed included iostream header 2016-01-12 18:30:57 +01:00
Jan Steemann 7524c21f3a added derived files 2016-01-12 17:45:05 +01:00
Jan Steemann 6937dbc489 aggregate fixes 2016-01-12 17:21:18 +01:00
Michael Hackstein c557a48e9e Reduced usage of TRI_json_t in VocbaseBaseHandler 2016-01-12 16:44:52 +01:00
Michael Hackstein f968c6f924 Removed some references to TRI_json_t in VocBase/server 2016-01-12 15:56:32 +01:00
Michael Hackstein b45ac55d58 Clang-format fixes 2016-01-12 15:16:04 +01:00
Michael Hackstein 96d58b8a67 Replaced toJson with toVelocyPack in KeyGenerator. 2016-01-12 15:13:34 +01:00
jsteemann 14216e4ca5 Valgrind garbage collection shutdown fix attempt 2016-01-12 14:27:23 +01:00
Michael Hackstein af1c96cf01 KeyGenerators are now generated from VPack instead of TRI_json_t 2016-01-12 14:25:57 +01:00
Jan Steemann a3bd1c57c9 added derived files 2016-01-12 13:28:20 +01:00
Jan Steemann 04763c77ed Merge branch 'aggregators' of https://github.com/arangodb/arangodb into devel 2016-01-12 13:18:50 +01:00
Jan Steemann 1ead3252f0 fixed potential segfault 2016-01-12 13:18:34 +01:00
Jan Steemann 2044cf8038 implemented aggregations for SortedCollectBlock 2016-01-12 12:05:57 +01:00
Jan Steemann 88d49eaef1 fixed segfault 2016-01-12 10:49:43 +01:00
jsteemann e4992ff37a fixed leak 2016-01-12 00:08:58 +01:00
jsteemann 9a2d9924b9 some bugfixes for aggregators 2016-01-11 23:53:03 +01:00
Jan Steemann 9ee2646b53 aggregators ready for hash-collect 2016-01-11 19:24:53 +01:00
jsteemann debeaeec07 less garbage collection 2016-01-11 12:43:05 +01:00
Max Neunhoeffer b0283077db Merge branch 'devel' into ClustUp2 2016-01-11 11:41:36 +01:00
Max Neunhoeffer dd364a9d20 Fix merge. 2016-01-11 11:38:10 +01:00
Max Neunhoeffer e7eae3a73a Merge branch 'devel' into ClustUp2 2016-01-11 11:01:45 +01:00
Max Neunhoeffer c801a8e763 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-01-11 10:54:06 +01:00
Max Neunhoeffer 9eb056b971 Fix a memory leak. 2016-01-11 10:51:56 +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
Jan Steemann 3c69cbd40a proper nesting 2016-01-08 18:14:07 +01:00
Jan Steemann d0f730a614 fix some compaction issues 2016-01-08 14:52:42 +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
jsteemann 0bfc9a19ae BE -> AE 2016-01-07 21:09:33 +01:00
jsteemann d6a3084923 changed loglevel for operation 2016-01-07 20:52:31 +01:00
Jan Steemann 8b4b6a1943 moved docu blocks into their own files 2016-01-07 16:03:17 +01:00
Jan Steemann e8a339e7b2 removed unsupported @code ... @endcode tags 2016-01-07 15:26:56 +01:00
Wilfried Goesgens 7fc4b356e4 Revert formattings that break documentation parts. 2016-01-07 15:12:04 +01:00
Jan Steemann 1e6a07426c collect refactoring 2016-01-07 14:10:32 +01:00
Jan Steemann e24c263c5e Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-01-07 13:35:26 +01:00
Jan Steemann ad1163e3bb refactoring for Aql COLLECT 2016-01-07 13:35:12 +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 bdc51bca80 fix potential crash 2016-01-06 12:14:15 +01:00
Jan Steemann 3e0dd5dd14 fixed cluster shutdown 2016-01-05 18:30:26 +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 827176c3be fixed warnings 2016-01-05 14:28:02 +01:00
Jan Steemann edb4d2dc4c fix some VS compile errors 2016-01-05 14:10:10 +01:00
Frank Celler 6fbe632d08 fixed comparison 2016-01-05 12:36:53 +01:00
jsteemann e5db136f99 internal function signature cleanup 2016-01-05 01:12:11 +01:00
jsteemann 6745a5048e Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2016-01-05 00:25:24 +01:00
jsteemann a6cb463e06 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2016-01-05 00:25:10 +01:00
jsteemann 8391084c15 less GC when idle 2016-01-05 00:24:32 +01:00
Jan Steemann c7f44b5f63 reserved AQL keyword `NONE` 2016-01-04 19:34:37 +01:00
Jan Steemann d6e05a2e19 added optional "startTime" attribute for handler description 2016-01-04 19:04:15 +01:00
Jan Steemann 28d80cf8d4 fixed shutdown leak 2016-01-04 18:37:01 +01:00
Frank Celler 1065a1bd2c added work monitor 2016-01-04 15:33:06 +01:00
jsteemann c20cf66e93 add cacheability info for explain 2016-01-03 00:52:36 +01:00
Max Neunhoeffer fa17c1ac22 Add reporting about query state. Needed for synchronous replication. 2015-12-30 16:52:47 +01:00
Max Neunhoeffer 0e99d99ec6 Fix bug in shard distribution. 2015-12-29 15:48:13 +01:00
Max Neunhoeffer aee4bd266c Set heartbeat interval to 5s. 2015-12-29 15:47:57 +01:00
Max Neunhoeffer e81af6274a Add replicationFactor and replicationQuorum. 2015-12-28 14:47:27 +01:00
Max Neunhoeffer 79b5175212 Add followerInfos in ClusterInfo. 2015-12-28 14:31:16 +01:00
Jan Steemann f1ed7cdf46 fixed memleaks that occurred during failure testing only 2015-12-23 20:59:04 +01:00
Jan Steemann 2e10c89cc2 fix invalid reads on shutdown 2015-12-23 16:49:13 +01:00
Jan Steemann cbcf0423ce Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-12-23 15:33:54 +01:00
Jan Steemann 6bc0f491a2 fixed Visual Studio warning 2015-12-23 15:33:02 +01:00
Max Neunhoeffer 394057fbda Merge branch 'devel' into vpack 2015-12-23 15:09:20 +01:00
Max Neunhoeffer 44334d90eb Remove a TODO. 2015-12-23 15:07:35 +01:00
Max Neunhoeffer 169d6b74e2 Adjust TODOs. 2015-12-23 15:07:01 +01:00
Max Neunhoeffer b10fafa501 Remove unused code. 2015-12-23 15:06:41 +01:00
Max Neunhoeffer c7f00bfeda Continue work on TODOs. 2015-12-23 14:40:04 +01:00
Jan Steemann 8781c2d05d added tests 2015-12-23 14:38:48 +01:00
Jan Steemann 887e93babc index handling fixes 2015-12-23 14:01:14 +01:00
Jan Steemann e62ccf7a46 added Ditches for traversal 2015-12-23 11:43:24 +01:00
Max Neunhoeffer 3996d2e6a2 Merge branch 'devel' into vpack 2015-12-23 08:35:59 +01:00
jsteemann 50947dfae3 apply "sort-in-values" optimization for certain subqueries too 2015-12-23 00:44:47 +01:00
jsteemann 2d4f41b422 slightly updated documentation 2015-12-22 22:30:57 +01:00
jsteemann 3d6582ed52 micro optimizations 2015-12-22 21:58:20 +01:00
jsteemann 3bcc5cd193 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-22 20:34:55 +01:00
jsteemann 75e815896d allow cancelation of traversal queries 2015-12-22 20:26:00 +01:00
Jan Steemann 5aebcbd91d Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-22 18:05:35 +01:00
Jan Steemann 6e3878ec94 changed behavior of [*] operator, added COLLECTION_COUNT internal function 2015-12-22 18:03:59 +01:00
Jan Steemann ae5a6952da fix 2015-12-22 17:54:22 +01:00
Max Neunhoeffer a80f2e71f4 Merge branch 'vpack' of ssh://github.com/ArangoDB/ArangoDB into vpack 2015-12-22 16:50:54 +01:00
Max Neunhoeffer 225c8cd843 Work on TODOs. 2015-12-22 16:50:09 +01:00
Jan Steemann 06ed7c8413 fix upgrade test 2015-12-22 15:27:49 +01:00
Jan Steemann fb0a522081 fixed compile error 2015-12-22 14:19:32 +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 5f3a1fbdb2 Merge branch 'devel' into vpack 2015-12-22 14:18:34 +01:00
Max Neunhoeffer 152f3485b3 Fix dump bug in cluster. 2015-12-22 14:18:11 +01:00
Jan Steemann 1b1e42b1b9 Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack 2015-12-22 14:15:22 +01:00
jsteemann 13fb41c6b0 removed useless flag 2015-12-22 14:15:02 +01:00
Jan Steemann 80c7645146 one more try 2015-12-22 13:10:43 +01:00
Jan Steemann e2e483e06a potential fix 2015-12-22 12:34:48 +01:00
Jan Steemann a3898bd54e fixed test 2015-12-22 11:27:05 +01:00
Jan Steemann 55729b78a9 fixed test 2015-12-22 10:44:52 +01:00
Jan Steemann dac697d24b removed some leftover iostream includes 2015-12-21 18:20:43 +01:00
Jan Steemann c0d5973adb garbage collection changes 2015-12-21 16:41:54 +01:00
Max Neunhoeffer 61dd94bc27 Merge branch 'devel' into vpack 2015-12-21 16:06:45 +01:00
Max Neunhoeffer ade47c06dc Fix isSorted bug in cluster. 2015-12-21 16:06:04 +01:00
Max Neunhoeffer 61fe51072c Merge branch 'devel' into vpack 2015-12-21 15:22:46 +01:00
Max Neunhoeffer e8e6dc8597 More VPackObjectBuilder usages. 2015-12-21 15:22:19 +01:00
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