1
0
Fork 0
Commit Graph

12291 Commits

Author SHA1 Message Date
hkernbach 35e14fdab2 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-09-23 14:14:59 +02:00
hkernbach ec16346e74 cleanup 2016-09-23 14:14:32 +02:00
jsteemann 9b951ff6c2 speed up tests 2016-09-23 12:20:10 +02:00
jsteemann 0b7d73bf3b add setUpAll, tearDownAll 2016-09-23 12:08:39 +02:00
hkernbach 33c54a9e7b modified collection info view 2016-09-23 10:41:58 +02:00
hkernbach 19c8e77aea rechecking dbservers before sharding operations 2016-09-23 10:21:20 +02:00
hkernbach b387ff6289 adjusted progress indicator delay 2016-09-23 07:57:20 +02:00
hkernbach ea9d97d5c6 nodes view 2016-09-23 07:55:09 +02:00
hkernbach 9f70262a2c fixed wrong navi route 2016-09-23 07:30:18 +02:00
hkernbach 635fbfeec5 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-09-23 07:22:47 +02:00
jsteemann bbc0e8940c issue #2071
make the AQL query optimizer inject filter condition expressions referred to by variables during filter condition aggregation
for example, in the following query

    FOR doc IN collection
      LET cond1 = (doc.value == 1)
      LET cond2 = (doc.value == 2)
      FILTER cond1 || cond2
      RETURN { doc, cond1, cond2 }

the optimizer will now inject the conditions for `cond1` and `cond2` into the filter condition `cond1 || cond2`, expanding it to
`(doc.value == 1) || (doc.value == 2)` and making these conditions available for index searching.

note that the optimizer previously already injected some conditions into other conditions, but only if the variable that defined
the condition was not used elsewhere. for example, the filter condition in the query

    FOR doc IN collection
      LET cond = (doc.value == 1)
      FILTER cond
      RETURN { doc }

already got optimized before because `cond` was only used once in the query and the optimizer decided to inject it into the place
where it was used.
this only worked for variables that were referred to once in the query. when a variable was used multiple times, the condition
was not injected as in the following query

    FOR doc IN collection
      LET cond = (doc.value == 1)
      FILTER cond
      RETURN { doc, cond }

the fix for #2070 now will enable this optimization so that the query can use an index on `doc.value` if available.
2016-09-22 20:29:27 +02:00
jsteemann 5e26337548 issue #2070 2016-09-22 19:59:13 +02:00
Kaveh Vahedipour 5e43c204c7 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-09-22 17:24:09 +02:00
Kaveh Vahedipour c793c3ac44 FailedServer jobs can report when last FailedLeader has been processed 2016-09-22 17:23:56 +02:00
hkernbach 57dbd8799e optimized cluster ui 2016-09-22 17:10:05 +02:00
hkernbach 3bfb30aa3e offline view 2016-09-22 13:32:17 +02:00
hkernbach 9ccf472f52 rerendering cluster statistics faster 2016-09-22 12:54:21 +02:00
Jan Steemann f0e14cff7d changed behavior of array comparison operators for empty arrays 2016-09-21 11:01:59 +02:00
Jan Steemann 243476e454 issue #2064 2016-09-21 08:56:51 +02:00
Wilfried Goesgens 2a5cdf7311 Fresh swagger. 2016-09-19 16:35:01 +02:00
Michael Hackstein d01c7ca32b Disabled {uniqueEdges: 'global'} and {uniqueVertices: 'global', bfs: false} in Pattern Matching query as their result is entirely non deterministic. 2016-09-19 13:28:43 +02:00
jsteemann e245e155a1 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-09-19 08:59:16 +02:00
jsteemann 6d2a93d997 added experimental AQL functions `JSON_STRINGIFY` and `JSON_PARSE` 2016-09-19 08:58:52 +02:00
Jan Steemann a2deb13c8d fixed issue #2060 2016-09-19 08:50:13 +02:00
Kaveh Vahedipour 7806dde219 fixed ssl_server test 2016-09-16 13:14:08 +02:00
jsteemann fad7efe8c3 more diagnostics 2016-09-16 09:35:08 +02:00
Max Neunhoeffer 3435e973ec Correct path to enterprise js code in testing.js. 2016-09-15 10:25:57 +02:00
Wilfried Goesgens f3a2a91f12 redirect output of gdb, so we can append it to the jenkins error mails. 2016-09-14 17:13:41 +02:00
Michael Hackstein c6cd5574b1 Removed a graph optimization which increased the minDepth if a filter is defined on a higher depth. Under some circumstances this filter can be matched if the path is not long enough. 2016-09-14 10:23:34 +02:00
Jan Steemann 1a2a3ba448 fixed issue #2052 2016-09-14 08:28:20 +02:00
Wilfried Goesgens cde427e492 create failure report file regardless of whether its going to be empty; simplifies build pipeline. 2016-09-13 14:40:13 +02:00
Wilfried Goesgens 5c0791bb8f remove debug print 2016-09-13 14:13:42 +02:00
Wilfried Goesgens e4596de367 add fail suite for build pipeline testing 2016-09-13 14:12:21 +02:00
Kaveh Vahedipour bdf2b9a55e fix in timing and wanring 2016-09-13 11:04:51 +02:00
Max Neunhoeffer b686f23cb9 Set agencySize back to 1 (temporarily). 2016-09-12 14:12:49 +02:00
Michael Hackstein 8dd3105762 Added a smartSearch route for Traversal Engines. In Community edition this will throw ONLY_ENTERPRISE. It should never be called by our code however. 2016-09-12 13:42:08 +02:00
Max Neunhoeffer 1c7ed5d86f Make testing.js find enterprise tests in enterprise version. 2016-09-12 12:20:50 +02:00
hkernbach a620690a32 grunt build 2016-09-09 17:29:09 +02:00
hkernbach 8546c56ff7 improved gv 2016-09-09 17:27:43 +02:00
hkernbach 294f117dbf added missing collection state - frontend 2016-09-09 17:27:02 +02:00
Kaveh Vahedipour 8b6f0e1f51 agency supervision turned off for quickietest 2016-09-09 15:03:12 +02:00
Kaveh Vahedipour b98975344d Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-09-09 14:47:07 +02:00
Kaveh Vahedipour 16a35ee15a multi-host agency in tests 2016-09-09 14:46:54 +02:00
Max Neunhoeffer 8fef636106 Allow for detailed version query in arangosh. 2016-09-09 14:30:57 +02:00
hkernbach ee65a1a375 fixed issue #2005 2016-09-09 13:39:15 +02:00
hkernbach c8923c1021 improved gv 2016-09-09 13:16:57 +02:00
jsteemann a9902fe02d fixed typo 2016-09-08 17:52:29 +02:00
jsteemann 50ff529244 jslint 2016-09-08 17:34:59 +02:00
Michael Hackstein adec2b1c50 Fixed traverser test. Which has two possible results 2016-09-08 17:07:12 +02:00
Michael Hackstein a3ba4b249d DBServer collections now use a cluster-wide unique id for their cids. Better handling of waiting for replication. 2016-09-08 16:26:17 +02:00