1
0
Fork 0
Commit Graph

1807 Commits

Author SHA1 Message Date
Kaveh Vahedipour f66d3b1dac fixed moveshard tests 2016-12-15 17:22:01 +01:00
Kaveh Vahedipour 842d1030f0 Fixed dangling UUID problem in missing database directory 2016-12-13 15:36:19 +01:00
Kaveh Vahedipour 2b9c018817 fixed resilience 2016-12-09 16:35:32 +01:00
Andreas Streichardt 9fedba9fff Fix eslint 2016-12-08 10:14:50 +01:00
Andreas Streichardt 10f7d75651 Fix uniform shard distribution when creating collections 2016-12-07 18:38:15 +01:00
Jan Steemann 5911f14bba updated CHANGELOG 2016-12-07 13:23:09 +01:00
Michael Hackstein dd0dca8a8d This actually fixes the last commit... 2016-12-06 13:45:55 +01:00
Michael Hackstein 06e66754bb Fixed cluster version of Optimize non-edge index tests. It is deactivated now, the cluster decides differently on the indexes. 2016-12-06 13:33:23 +01:00
jsteemann 369b2c7bc6 added optional memory limit for AQL queries 2016-12-06 13:23:41 +01:00
jsteemann 2521dff57c fix error message returned by arangoimp in case of some secondary unique key constaint violations 2016-12-02 13:37:17 +01:00
Jan Steemann 8443d4317e Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-11-29 10:59:45 +01:00
Jan Steemann 6754761273 fix index persistence 2016-11-29 10:59:38 +01:00
Michael Hackstein 4331af37f9 Added a test for Skiplists and traversals, if the condition cannot cover _from resp _to inside the index. 2016-11-29 10:27:08 +01:00
Frank Celler 7e46422cbf Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-11-28 17:32:57 +01:00
Frank Celler 4b1b6a2e7f Added test for Traverser using indexes not containing _from or _to 2016-11-28 17:32:04 +01:00
Michael Hackstein 0786eb735f Fixed passing of unique when using createHashIndex() 2016-11-25 16:08:58 +01:00
jsteemann c784c54799 fix failing test 2016-11-25 15:45:59 +01:00
Andreas Streichardt f81df6aa86 Add unittest for hashindex collision bug 2016-11-24 15:09:54 +01:00
Jan Steemann 689c7fbdc3 fixed issue #2183 2016-11-21 13:41:49 +01:00
jsteemann 38e18a9e65 fix test 2016-11-21 08:45:37 +01:00
Jan Steemann 19f771fcd6 issue #2168 2016-11-14 17:30:19 +01:00
jsteemann ecaf2fd16b when querying edge index selectivity, pass attribute name (i.e. _from, _to) so the selectivity of the correct index part can be returned 2016-11-11 11:01:04 +01:00
Jan Steemann 8504246217 changed behavior of toJSON() function when serializing an object before saving it in the database
if an object provides a toJSON() function, this function is still called for serializing it.
the change is that the result of toJSON() is not stringified anymore, but saved as is. previous
versions of ArangoDB called toJSON() and after that additionally stringified its result.
2016-11-08 15:39:06 +01:00
Michael Hackstein 8f0a1f47f8 Fix for ShoretestPath in Cluster. Does only show up with > 1 shards. Adapterd tests to use 4 shards instead of 1. 2016-10-31 09:19:49 +01:00
Jan Steemann 1e84dd9008 added test cases 2016-10-25 18:44:32 +02:00
Jan Steemann 8236ae2a05 added tests 2016-10-25 16:51:58 +02:00
Alan Plum 6aaa55f9dc
app -> service 2016-10-20 15:08:18 +02:00
jsteemann 5730d0bdc4 fixed jslint 2016-10-20 11:34:18 +02:00
Simran Brucherseifer 0482327ff0 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-10-14 11:17:29 +02:00
Jan Steemann 47382b20d7 issue #2115 2016-10-18 13:54:33 +02:00
Simran Brucherseifer 7161227b14 Add docs and test for AQL DISTANCE function 2016-10-14 11:17:29 +02:00
Max Neunhoeffer 039ca9aceb Increase some timeouts from 60 to 90s to be more load tolerant. 2016-10-13 12:52:59 +02:00
Andreas Streichardt e75b8f5503 Implement cURL based inter server communication 2016-10-10 14:56:04 +02:00
Max Neunhoeffer 36efc9f15f Speed up dump tests by using babies. 2016-10-10 14:54:38 +02:00
jsteemann 0f49a6d8b7 make sort a bit more clever 2016-10-07 16:09:28 +02:00
jsteemann 848ca5b28c fix AQL tests in cluster 2016-10-07 15:21:58 +02:00
Kaveh Vahedipour cf09546d93 fixed erroneous break of supervision agency updates 2016-10-07 11:01:45 +02:00
jsteemann d67c6372aa fixed issue #2086 2016-10-06 14:04:15 +02:00
Jan Steemann 1cbcc278da added test for issue #2081 2016-10-06 11:51:59 +02:00
Kaveh Vahedipour ce8c1a0cac revisiting all supervision jobs 2016-10-05 17:16:02 +02:00
Kaveh Vahedipour 9d3214c539 minor 2016-10-04 15:31:32 +02:00
jsteemann a45322076a issue #2079 2016-09-27 16:34:39 +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
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 c793c3ac44 FailedServer jobs can report when last FailedLeader has been processed 2016-09-22 17:23:56 +02:00
Jan Steemann f0e14cff7d changed behavior of array comparison operators for empty arrays 2016-09-21 11:01:59 +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
Jan Steemann a2deb13c8d fixed issue #2060 2016-09-19 08:50:13 +02:00