1
0
Fork 0
Commit Graph

4923 Commits

Author SHA1 Message Date
James b301102655 Jan's patch 2014-11-03 09:32:12 +00:00
James 901c65559c Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into aql-feature-optimize-or 2014-11-02 18:05:35 +00:00
Jan Steemann 749a0aa408 fixed cloning of AST nodes 2014-11-01 21:54:02 +01:00
Jan Steemann 97206f8c30 fixed cloning of AST nodes 2014-11-01 21:52:28 +01:00
Jan Steemann 1ae150d90a control number of v8 contexts independently from number of server threads
added command-line option `--javascript.v8-contexts` to control the number of
V8 contexts created in arangod.

Previously, the number of V8 contexts was equal to the number of server threads
(as specified by option `--server.threads`). However, it may be sensible to
create different amounts of threads and V8 contexts. If the option is not
specified, the number of V8 contexts created will be equal to the number of
server threads. Thus no change in configuration is required to keep the old
behavior.
2014-11-01 21:02:00 +01:00
James 5f6964796e still not working 2014-11-01 19:06:59 +00:00
James 2c10e943b8 still doesn't work 2014-11-01 17:12:44 +00: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
James cd710ed55d snapshot 2014-11-01 16:06:53 +00:00
Jan Steemann e2cfa056c0 pass query warnings around in cluster 2014-11-01 16:36:58 +01:00
James 6470669871 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into aql-feature-optimize-or 2014-11-01 14:35:26 +00:00
James d12b5baf12 first try at replace-OR-with-IN optimizer rule. 2014-11-01 14:30:18 +00:00
Jan Steemann d85dddfc7a be less verbose 2014-11-01 15:22:27 +01:00
Jan Steemann 025d73ae03 re-added support for fullCount 2014-11-01 15:20:05 +01:00
Jan Steemann 0bb7a6e349 nullptr 2014-11-01 03:36:44 +01:00
Jan Steemann 51d3871195 removed debug output 2014-11-01 02:25:17 +01:00
Jan Steemann a7af7eed31 fix double free issue 2014-11-01 02:20:13 +01:00
Jan Steemann 26c3b0174f fixed tests 2014-10-31 19:58:20 +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 a5e7b26c81 added comment [skip ci] 2014-10-31 17:31:40 +01:00
Jan Steemann 4f68960ed7 removed Ahuacatl [skip ci] 2014-10-31 17:31:00 +01:00
Max Neunhoeffer ddf85982f0 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-10-31 11:50:54 +01:00
Max Neunhoeffer 8f854ec3b2 Fix a leak in cluster instanciation of queries. 2014-10-31 11:50:34 +01:00
Willi Goesgens 10bf137692 Move free logic into its own function, so we can call in in both places. 2014-10-31 11:28:27 +01:00
Jan Steemann 694d225c9d silence 2014-10-31 10:38:10 +01:00
Jan Steemann 83252851e6 report warnings in queries 2014-10-30 17:33:15 +01:00
Max Neunhoeffer c07bfb894d Fix a memleak in cluster. 2014-10-30 14:58:59 +01:00
Max Neunhoeffer e74e3ac8db Fix a use after free in RestAqlHandler. 2014-10-30 14:58:34 +01:00
Max Neunhoeffer 4503d7a982 Fix a memleak in instanciation. 2014-10-30 14:58:12 +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 31d875921f removed TODOs 2014-10-30 00:45:55 +01:00
Jan Steemann 09e0a4e3c4 nullptr 2014-10-29 23:17:56 +01:00
Jan Steemann 0903c1b9b6 use more precomputed values in expressions 2014-10-29 21:41:00 +01:00
Jan Steemann f0fc42645b Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	js/common/modules/jsunity.js
2014-10-29 21:34:55 +01:00
Jan Steemann 7c180b31fb hide experimental functions for now 2014-10-29 20:53:50 +01:00
Willi Goesgens 1376d44110 Clear the ClusterCommResult objects before re-assigning them; else we loose memory. 2014-10-29 19:16:34 +01:00
Willi Goesgens 26a0ce441c nullptr 2014-10-29 19:11:48 +01:00
Willi Goesgens 73ac2e729c another place to ensure that the pointer to TRI_json_t is free'd 2014-10-29 19:11:24 +01:00
Max Neunhoeffer d6d80d2b9b Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-10-29 16:52:20 +01:00
Max Neunhoeffer 9fcdc1fa94 Start building proper cleanup if instanciation throws in between. 2014-10-29 16:51:59 +01:00
Willi Goesgens 6a0fe7af9c Fix memleak: TRI_Insert2ArrayJson doesn't use the pointer; need to use TRI_Insert3ArrayJson here. 2014-10-29 16:39:54 +01:00
Max Neunhoeffer 425d50bdc1 Fix RemoteBlock initializeCursor forwarding by HTTP. 2014-10-29 16:17:15 +01:00
Max Neunhoeffer e0c85832a5 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-10-29 15:42:35 +01:00
Max Neunhoeffer b0e08bd8eb Take out some debugging output. 2014-10-29 15:42:03 +01:00
Max Neunhoeffer bfce170cae Fix cost estimation of SortNodes. 2014-10-29 15:41:38 +01:00
Max Neunhoeffer ebf8936cd3 Fix deserialisation of AqlItemBlocks (ranges). 2014-10-29 15:41:21 +01:00
Willi Goesgens 6048b8a92b Fix memleak: TRI_Insert2ArrayJson doesn't use the pointer; need to use TRI_Insert3ArrayJson here. 2014-10-29 13:51:56 +01:00
Jan Steemann 5d731e7bdc Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-29 13:19:21 +01:00
Jan Steemann 464c0751d9 removed TODOs 2014-10-29 13:19:13 +01:00
Jan Steemann cf79ef33e2 removed TODO 2014-10-29 13:15:52 +01:00
Max Neunhoeffer 6d73373249 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-10-29 13:14:35 +01:00
Max Neunhoeffer 534ae76279 Add an explanation of the instanciation procedure. 2014-10-29 13:09:11 +01:00
Jan Steemann 0d335f403a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-29 13:07:06 +01:00
Jan Steemann ecc6089cc8 removed TODO 2014-10-29 13:06:54 +01:00
Max Neunhoeffer a3265b7fd4 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-10-29 12:41:16 +01:00
Max Neunhoeffer da1c2c0109 Further simplify and cleanup instanciation. 2014-10-29 12:41:03 +01:00
Jan Steemann ca15e72b14 fixed test 2014-10-29 12:33:10 +01:00
Jan Steemann c31d8fae68 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-29 12:14:31 +01:00
Jan Steemann d67a60c223 removed TODO 2014-10-29 12:14:14 +01:00
Max Neunhoeffer 42eefbe71d Cleanup and comment instanciation. 2014-10-29 12:13:43 +01:00
Max Neunhoeffer 7e6e758a76 Remove unnecessary plans for coordinator pieces. 2014-10-29 11:41:24 +01:00
Max Neunhoeffer ecb7317461 Remove enterSubQueryFirst. 2014-10-29 11:37:06 +01:00
Max Neunhoeffer 59c1935466 Get rid of some TODOs and FIXMEs. 2014-10-29 11:25:30 +01:00
Max Neunhoeffer cfb26c8b0a Fix instanciation order, for good??? 2014-10-29 10:37:39 +01:00
Max Neunhoeffer 18990d9b95 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-10-29 08:57:34 +01:00
Jan Steemann 35cc5bb468 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-29 01:04:53 +01:00
Jan Steemann 8bb213e7ba sort and cache list expression values
emplace

fixed wrong assertion
2014-10-29 01:02:20 +01:00
Max Neunhoeffer 5da86da39d Another step to fix instanciation of plan in cluster. 2014-10-29 00:27:45 +01:00
Max Neunhoeffer 96c749682e Fix order of ExecutionBlock instanciation in cluster. 2014-10-28 23:48:48 +01:00
Jan Steemann 2e9100619a a bit less copying 2014-10-28 18:10:23 +01:00
Jan Steemann 246c6fc840 less parameter passing 2014-10-28 16:50:09 +01:00
Jan Steemann da10751030 do not spam dispatcher queue 2014-10-28 16:01:40 +01:00
Jan Steemann 0e27ccbfdb jslintified tests 2014-10-28 15:59:38 +01:00
Jan Steemann f6b8f17dfa less optimizations for simple plans 2014-10-28 15:01:44 +01:00
Jan Steemann acd3c8a47a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-28 11:30:59 +01:00
Jan Steemann 529bf386d7 fixed some API errors 2014-10-28 11:30:49 +01:00
Max Neunhoeffer 693b0056cc Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-10-28 11:20:19 +01:00
Jan Steemann d3c945d1d3 fixes for Visual Studio 2014-10-28 11:02:05 +01:00
Max Neunhoeffer 4098279ed6 Implement a shutdown method for the Subqueryblock. 2014-10-28 09:02:01 +01:00
Jan Steemann 2808e4eee8 cppcheck 2014-10-28 00:35:18 +01:00
Jan Steemann 13d240384f less namespace pollution 2014-10-28 00:24:37 +01:00
Jan Steemann ccf7e4f131 mini cleanup 2014-10-27 22:47:36 +01:00
Jan Steemann 7452c70a3b moved backtrace functions 2014-10-27 18:15:10 +01:00
Jan Steemann b7c93c361a fixed tests 2014-10-27 16:43:10 +01:00
Willi Goesgens 5ed8816788 Remove Explain of cluster snippets 2014-10-27 16:10:13 +01:00
Willi Goesgens 7db7c22443 don't add the TRI_errno_string() to the exception twice. 2014-10-27 15:39:10 +01:00
Willi Goesgens 03cbca59e4 Make errormessage sound more like normal language. 2014-10-27 15:38:09 +01:00
Willi Goesgens 896c6f591e fix forwarding of http-errors; there mustn't be a second variable. 2014-10-27 15:37:35 +01:00
Max Neunhoeffer 5eed22ad5f Repair distribute-sort-to-cluster rule and make it less aggressive. 2014-10-27 14:02:08 +01:00
Max Neunhoeffer 48dc3c5081 Remove an unnecessary TODO. 2014-10-27 13:41:46 +01:00
Max Neunhoeffer 7ca33e7b73 Remove unnecessary case: no SHAPED on coordinators. 2014-10-27 13:25:34 +01:00
Jan Steemann b5c222b9b8 determine whether calculations may run on a DB server 2014-10-27 12:04:06 +01:00
Max Neunhoeffer d564fca3d2 Make distribute-filtercalc-in-cluster switch-off-able. 2014-10-27 10:34:51 +01:00
Max Neunhoeffer e9aded7b5e Make distribute-sort-to-cluster switch-off-able. 2014-10-27 10:28:06 +01:00
James 8bdd0cea4c added some explanation of distribute-in-cluster and undistribute-remove-after-enum-coll. 2014-10-25 17:40:55 +01:00
James c99cc155b6 fixing undistribute-remove-after-enum-coll optimizer rule. 2014-10-25 14:24:57 +01:00
Jan Steemann 0e96a31b6a oops, forgot to commit 2014-10-24 23:55:31 +02:00
Jan Steemann 3a3c4a9f93 issue #1063: Docs: measuring unit of --wal.logfile-size 2014-10-24 23:43:58 +02:00
Jan Steemann dacc249105 fixed AggregatorGroup shutdown 2014-10-24 23:39:58 +02:00