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
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
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
7a2a0ddc0e
Fixed another statistic test in graph traverser.
2016-09-07 15:27:05 +02:00
Michael Hackstein
446e5dddfc
Fixed graph traversal tests in cluster. They use a different index than local server and hence reporting is different.
2016-09-07 14:50:40 +02:00
jsteemann
528ebdf573
slightly prefer primary index
2016-09-07 11:42:13 +02:00
jsteemann
32d35f25af
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-07 10:35:29 +02:00
Andreas Streichardt
d258e75cd1
Fix jslint
2016-09-07 10:31:08 +02:00
jsteemann
98dc073774
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-07 10:01:49 +02:00
jsteemann
84b750597d
added test
2016-09-07 10:01:35 +02:00
Jan Steemann
a79c8360d4
fixed issue #2039
2016-09-07 09:59:41 +02:00
jsteemann
f5a595f464
Merge branch 'devel' of https://github.com/arangodb/arangodb into generic-col-types
2016-09-07 08:52:07 +02:00
Andreas Streichardt
7b4a383877
Fix resilience tests
2016-09-06 16:49:54 +02:00
Andreas Streichardt
6396ac4dc7
Implement removeServer job
2016-09-06 16:49:25 +02:00
jsteemann
b161f5b9aa
test adjustments
2016-09-06 11:10:17 +02:00
Michael Hackstein
e22014a272
Merge branch 'MIT' of github.com:arangodb/arangodb into generic-col-types
2016-09-06 09:33:23 +02:00
jsteemann
2d1e0bd3ae
fixed some leaks
2016-08-31 15:30:47 +02:00
jsteemann
999e2dab1b
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-vs-velocystream
2016-08-25 15:38:12 +02:00
Jan Steemann
9436b411db
fixed tests
2016-08-25 14:40:54 +02:00
Jan Steemann
3600ed40f8
more diagnostic output
2016-08-25 14:02:47 +02:00
jsteemann
396ab41736
allow dropping system collections in some rare cases
2016-08-25 12:47:06 +02:00
jsteemann
5f06a5c025
Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache
2016-08-23 12:13:08 +02:00
Jan Steemann
57fa55921c
fix execution of AQL traversal expressions when there are multiple conditions that refer to variables set outside the traversal
2016-08-23 10:48:08 +02:00
Jan Steemann
b296468a18
more optimizations
2016-08-22 17:36:04 +02:00
jsteemann
d7b2141da0
Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache
2016-08-18 16:22:00 +02:00
Simran Brucherseifer
4b3a8baa44
FOXX -> Foxx
2016-08-18 13:30:18 +02:00
jsteemann
000fd9cbdc
Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache
2016-08-15 18:35:43 +02:00
jsteemann
5b0bc88cc2
added tests for unary minus and plus in c++
2016-08-15 18:17:02 +02:00
jsteemann
e9cabbecb7
Merge branch 'engine-vs-velocystream' of https://github.com/arangodb/arangodb into readcache
2016-08-15 14:26:50 +02:00
jsteemann
ae40ea5450
finally fixed some nasty bugs after refactoring
2016-08-15 14:26:09 +02:00
Michael Hackstein
7b328d39e9
Merge branch 'devel' of github.com:arangodb/arangodb into engine-vs-velocystream
2016-08-11 12:41:08 +02:00
Michael Hackstein
9c9b3a9390
Merge branch 'devel' of github.com:arangodb/arangodb into MIT
2016-08-11 11:22:21 +02:00
Michael Hackstein
374e657ae7
Fixed final cluster traverser statistic test
2016-08-11 11:22:05 +02:00
Michael Hackstein
9e22f3f902
Fixed an undefined behaviour bug and a cluster statistic for Traverser.
2016-08-10 18:06:49 +02:00
Michael Hackstein
418ed17efe
Fixed Statistics-tests for graphs. We filter and scan less now if the conditions would only work on longer paths
2016-08-10 17:50:35 +02:00
Michael Hackstein
3a95244599
Fixed ALL== and NONE== tests for graph traversals. SingleServer and cluster
2016-08-10 17:10:25 +02:00
Michael Hackstein
654dd63719
Added some more tests for ALL == and NONE == in graph traverser. Still all red.
2016-08-10 09:57:16 +02:00
Michael Hackstein
7830248fa2
Added tests for ALL== and NONE== optimisation in Traverser. Tests are RED now.
2016-08-09 17:41:01 +02:00
Michael Hackstein
3dedde1688
Fixed test for scanned index in Traverser. The cluster now is better than it was before.
2016-08-09 16:27:17 +02:00
Michael Hackstein
8225cf9e10
Fixed syntax error in graph-traverser
2016-08-08 17:42:01 +02:00
Michael Hackstein
5d33d3d061
Fixed vpack-externals test. It now states WITH in cluster.
2016-08-08 17:41:22 +02:00
Michael Hackstein
5fcf95a67e
Fixed test for rule optimize traversals.
2016-08-08 17:35:42 +02:00
Michael Hackstein
e2ba840577
Fixed aql-graph suite in cluster. It now uses WITH statements.
2016-08-08 17:35:20 +02:00
Michael Hackstein
bb5a9442a5
Fixed test suite.
2016-08-08 17:06:43 +02:00
Michael Hackstein
bf435219dc
Adopted many graph tests to now properly use WITH to make sure all collections are locked properly. Will add a test for correct behaviour without WITH later.
2016-08-08 12:38:40 +02:00
Jan Steemann
ed475b698b
fixed failing test
2016-08-05 17:43:11 +02:00
jsteemann
5d640b7144
fixed tests
2016-08-04 13:32:54 +02:00
Michael Hackstein
994a99e31f
Merge branch 'devel' of github.com:arangodb/arangodb into MIT
2016-08-01 16:50:54 +02:00
Jan Christoph Uhde
8d1a627770
Merge branch 'devel' of github.com:arangodb/arangodb into obi-velocystream-4
...
* 'devel' of github.com:arangodb/arangodb:
updated CHANGELOG
Remove sleep
fixed issue in `INTERSECTION` AQL function with duplicate elements in the source arrays
fixed broken downloads in firefox, issue: #1968
2016-07-28 18:16:31 +02:00
Jan Steemann
ddecc740e6
fixed issue in `INTERSECTION` AQL function with duplicate elements in the source arrays
2016-07-28 17:11:21 +02:00
jsteemann
b48779c821
fixed tests
2016-07-28 15:56:38 +02:00
Michael Hackstein
2a9c8ddc77
Merge branch 'devel' of github.com:arangodb/arangodb into MIT
2016-07-26 09:43:48 +02:00
jsteemann
d6baadf59a
fix recovery edge case
2016-07-25 17:57:25 +02:00
Michael Hackstein
db4746f85e
Now V8 conditions in Graph Traversals are not optmized any more.
2016-07-25 10:16:43 +02:00
Michael Hackstein
2d22afd4ea
Fixed tests in Traversal. SingleServer all simple conditions are working and optimized. It does not yet work if one of the conditions requires v8 or a Variable.
2016-07-25 09:49:48 +02:00
Jan Steemann
eb7dd14e95
added test case
2016-07-21 16:12:25 +02:00
Jan Steemann
74f7da4f45
don't copy unneeded registers
2016-07-21 12:10:09 +02:00
Jan Steemann
8369f652a4
fixed issue #1950
2016-07-20 09:38:25 +02:00
Jan Steemann
2441b2f700
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-07-14 10:09:01 +02:00
Jan Steemann
a1c2b7cc63
fixed issue #1941
2016-07-14 10:08:17 +02:00
Jan Steemann
6d856efd4f
added test for "fake" _key values
2016-07-14 09:29:42 +02:00
jsteemann
f5608449b2
fixed issue #1942
2016-07-13 20:32:59 +02:00
Max Neunhoeffer
a78fd42b67
Merge branch 'HLC' into devel
2016-07-13 12:52:33 +02:00
Jan Steemann
6b7defc737
fixed array index batch insertion issue
2016-07-13 11:32:39 +02:00
Max Neunhoeffer
18925faf8f
Merge branch 'devel' into HLC
2016-07-12 22:51:40 +02:00
Jan Steemann
403ba8a30c
fixed issue #1937
2016-07-12 15:57:19 +02:00
Max Neunhoeffer
846e6b6127
Merge remote-tracking branch 'origin/devel' into HLC
2016-07-12 15:10:24 +02:00
Jan Steemann
1719d3c993
fix destructuring of Externals in MERGE
2016-07-12 13:37:39 +02:00
Jan Steemann
6f3091e30a
fix recovery issues
2016-07-12 09:45:45 +02:00
Jan Steemann
2d7faa795a
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-07-11 18:39:18 +02:00
Jan Steemann
10db618129
fix recovery
2016-07-11 18:36:00 +02:00
Max Neunhoeffer
8f69fb74f5
Further fixes of commonProperties and friends.
2016-07-11 14:42:42 +00:00
Jan Steemann
cb14a63778
pass UDF name into UDF call via this argument
2016-07-08 14:31:14 +02:00
Jan Steemann
351f800eb1
fix upsert
2016-07-07 15:15:43 +02:00
Jan Steemann
f8b61c6723
added tests
2016-07-07 12:22:24 +02:00
Jan Steemann
2aaf941110
added test
2016-07-07 12:22:07 +02:00
jsteemann
507c7ea232
removed ascii art
2016-07-06 12:29:33 +02:00
jsteemann
79c3d589f5
added test for custom attributes
2016-07-06 10:02:20 +02:00
Jan Steemann
9c98cb6cf3
added test for skipLines
2016-07-04 12:15:13 +02:00
Andreas Streichardt
6ee1f6d14a
Reformat code
2016-06-30 16:57:17 +02:00
Jan Steemann
6c2f9148cc
increase max. number of collections to 256
2016-06-30 13:44:31 +02:00
jsteemann
cd49ac415c
added test
2016-06-28 13:33:40 +02:00
Mark
cd932c4060
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-06-28 12:49:26 +02:00
Mark
fb6f61ba30
shortestpath tests added
2016-06-28 12:49:05 +02:00
jsteemann
54bfd255dc
added test for "collection is a nullptr" issue
2016-06-28 12:16:36 +02:00
Michael Hackstein
808cb97707
Fixed a bug in SHORTEST_PATH using a distance attribute. In some cases the computed path was not correct.
2016-06-27 16:57:47 +02:00
jsteemann
274801b7b6
issue #1891 : renamed to OUTERSECTION
2016-06-24 14:07:41 +02:00
jsteemann
daf6d42683
optimize away some more filter parts of type `"const" IN collection.attribute
2016-06-24 14:03:58 +02:00
jsteemann
50c3aa93a9
issue #1891 : added AQL function `DIFFERENCE` to return the symmetric difference of its input arguments
2016-06-24 10:35:49 +02:00
Wilfried Goesgens
09e4475096
disable numeric aql tests for solaris - its broken in the solaris libm.
2016-06-23 18:05:28 +02:00
jsteemann
7496fa2c67
issue #1894 : make list of edge collections unique in traversal
2016-06-23 12:17:04 +02:00
Alan Plum
77c96537d1
Fix failing test
2016-06-21 10:49:50 +02:00
Max Neunhoeffer
3bb4424b18
Wait for sync rep before dropping and recreating collection.
2016-06-17 14:18:48 -07:00
Max Neunhoeffer
f59668e889
When recreating a collection to avoid system collections, wait for sync rep.
2016-06-17 11:02:24 -07:00
Max Neunhoeffer
6011ee4994
Repair a test by making SORT well-defined.
...
There was actually a difference in a (non-guaranteed) sort order
between single server and cluster. This is fixed now.
2016-06-16 12:02:54 -07:00
Mark
0e00597e4b
fixed compatibility graph functions, added tests
2016-06-16 15:39:05 +02:00
Alan Plum
2bb8957caf
Update all dependencies to latest
2016-06-15 13:47:01 +02:00
Max Neunhoeffer
9d42790580
Take out a debugging print.
2016-06-14 00:13:09 +02:00
Max Neunhoeffer
82ac357b2a
Less debugging output.
2016-06-14 00:08:42 +02:00
Max Neunhoeffer
66ae93bf1f
More patience to wait for supervision to finish jobs.
2016-06-14 00:08:24 +02:00
Max Neunhoeffer
79025546f7
Improve moveShard tests and testing infrastructure.
2016-06-13 23:28:32 +02:00
Kaveh Vahedipour
d130743a73
shrinkCluster tests
2016-06-13 15:15:10 +02:00
Mark
328b7681f1
Test format fix
2016-06-13 14:44:33 +02:00
Mark
705edefe41
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-06-13 14:37:50 +02:00
Max Neunhoeffer
0040105e80
Finish transformation to three digit numbers in server IDs.
2016-06-13 14:37:15 +02:00
Mark
23d1a204b6
breadth first tests added
2016-06-13 14:36:52 +02:00
Michael Hackstein
d7a710593a
Fixed some minor bugs in breadth-first-search for AQL traversal. Also added another test case for it.
2016-06-10 21:00:38 +02:00
Max Neunhoeffer
5ab4f970a6
Improve a warning message.
2016-06-09 15:29:10 +02:00