Michael Hackstein
84174aa99a
Added edgeExamples functionality to CPPonly Neighbors.
2015-07-23 15:25:50 +02:00
Michael Hackstein
f92c3b21ce
Removed the duplicate distinct / result listing in Neighbors
2015-07-22 17:11:38 +02:00
Jan Steemann
20c96b5e46
removed locks
2015-07-21 17:34:57 +02:00
Jan Steemann
123a76089f
removed JobType, special jobs and monopolizer
2015-07-21 14:07:53 +02:00
Jan Steemann
e8205e5dc0
use new and delete for TRI_server_t
2015-07-21 11:57:04 +02:00
Jan Steemann
124fe7a34c
use new/delete for TRI_vocbase_t
2015-07-20 12:08:13 +02:00
Jan Steemann
f77dbc005c
some fixes for graph functions
2015-07-15 09:35:37 +02:00
Jan Steemann
b62bd24377
cast value to double
2015-07-14 14:24:44 +02:00
Jan Steemann
81b0af6694
context handling
2015-07-14 14:19:33 +02:00
Jan Steemann
354b20d559
use references
2015-07-14 13:52:12 +02:00
Jan Steemann
8ea97817a1
add randomness to garbage collection
2015-07-14 13:51:57 +02:00
Jan Steemann
2983f4e987
small garbage collection improvements
2015-07-14 13:30:37 +02:00
Jan Steemann
aa9250abbf
increase wait time for reduced wait
2015-07-14 12:53:35 +02:00
Jan Steemann
3b8083f8f2
slight modifications for V8 garbage collection
2015-07-14 12:41:17 +02:00
Jan Steemann
14ccfbabc3
Merge branch 'aql-query-cache' of https://github.com/arangodb/arangodb into devel
2015-07-13 12:46:41 +02:00
Michael Hackstein
df33ffe410
Added an implementation for shortest path which allows to take shortcuts iff we do not have to access the data, f.e. filtering or distances. Gives an enormous speedup.
2015-07-13 11:31:42 +02:00
Jan Steemann
c71dc4d9bb
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-query-cache
2015-07-13 10:49:14 +02:00
Willi Goesgens
bd7aa7c305
Remove the global include to iostream; this reduces the compile time by 10%
...
( http://herbsutter.com/2013/08/19/gotw-7a-solution-minimizing-compile-time-dependencies-part-1/ for inspiration)
2015-07-07 12:11:21 +02:00
Jan Steemann
1f5e047486
query cache, now with result limitations, HTTP and JavaScript APIs
2015-06-27 01:12:32 +02:00
Jan Steemann
66eec2ac7e
fix invalidation
2015-06-25 16:46:04 +02:00
Jan Steemann
e3a15227ce
query cache for AQL queries. no invalidation yet, so results will be wrong when underlying collections are changed
2015-06-23 18:42:58 +02:00
Max Neunhoeffer
57716566c2
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2015-06-18 17:30:08 +02:00
Jan Steemann
ffab0ef47d
renamed file
2015-06-18 17:29:49 +02:00
Max Neunhoeffer
e3623cf6a5
Improve diagnostic output when dispatcher is reporting.
2015-06-18 17:29:36 +02:00
Max Neunhoeffer
2844f02a74
Mark blocking threads as such in two places to allow additional threads.
...
This fixes some cluster hang bugs in larger clusters.
2015-06-18 17:28:51 +02:00
Jan Steemann
160955462c
fixed attribute deletion
2015-06-18 17:09:40 +02:00
Jan Steemann
21fbe021d6
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-06-18 14:04:43 +02:00
Jan Steemann
dcfe29211a
updated CHANGELOG
2015-06-18 14:03:31 +02:00
Willi Goesgens
9e5566f649
One more place to fix ForceDelete
2015-06-18 13:21:14 +02:00
Willi Goesgens
9c7d49a666
Merge branch 'v8_4.2' of github.com:arangodb/arangodb into devel
2015-06-18 10:34:08 +02:00
Michael Hackstein
7f8be74c09
Added a test for OOM in Ditches for Neighbors. Added a test for missing vocbase in ExampleMatcher
2015-06-16 10:46:33 +02:00
Jan Steemann
ce936fb4e0
use Has() instead of HasRealNamedProperty() so _key attributes from ShapedJson work, too
2015-06-12 17:23:42 +02:00
Jan Steemann
a7dfbe8801
fixed warning
2015-06-11 18:23:19 +02:00
Jan Steemann
7e7a6eef06
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-06-10 18:04:33 +02:00
Jan Steemann
f5f719360c
added out-of-bounds checking for _heap and _history
2015-06-10 18:04:17 +02:00
Alan Plum
ddf39db6c8
Pre-load Foxx exports on start and smarter queue sleep.
2015-06-10 14:17:33 +02:00
Jan Steemann
3d4f323718
fix some issues with multiple databases and database-switching
2015-06-10 13:24:38 +02:00
Jan Steemann
590ee58d40
fixed isSystem for timer tasks
2015-06-10 11:53:42 +02:00
Jan Steemann
a6b2998b5d
added try...catch blocks for V8-to-CPP bindings
2015-06-08 16:04:42 +02:00
Jan Steemann
b76cb5caee
use nullptr
2015-06-02 23:39:41 +02:00
Jan Steemann
a51c258bf5
fixed memleaks
2015-06-01 14:56:14 +02:00
Michael Hackstein
99afc6ec87
CXX ExampleMatcher learned about internal attributes. This makes all AQL-Graph tests pass again ;)
2015-05-30 00:00:49 -07:00
Jan Steemann
4cd37f8d55
fix MacOS compile errors
2015-05-29 10:01:19 +02:00
Michael Hackstein
e28eedf706
Made the depth always unsigned.
2015-05-28 16:05:29 -07:00
Michael Hackstein
6a7dae216d
Merge branch 'devel' of github.com:/arangodb/arangodb into devel
2015-05-28 15:18:32 -07:00
Michael Hackstein
f15e56171b
Implemented min/maxDepth for neighbors in CPP layer. And removed the option for non-distinct neighbors.
2015-05-28 15:10:14 -07:00
Jan Steemann
ad59242822
fixed ambiguous attribute name "version" for collections
2015-05-28 11:54:57 +02:00
Jan Steemann
4dde6e49cd
goodbye barriers, welcome ditches
2015-05-28 10:23:30 +02:00
Michael Hackstein
5e5c5fca70
Added neighbor examples and edge examples to CXX Neighbors. The ExampleMatcher is NOT able to match internal attributes yet.
2015-05-27 13:40:30 -07:00
Jan Steemann
03461903fe
fixed over-eager V8 context entering and exiting in non-cluster mode
2015-05-27 14:02:13 +02:00
Michael Hackstein
29b05c3777
Renamed options 'distance' 'defaultDistance' to 'weight', 'defaultWeight' in Shortest path. This is closer to graph theory vocabular
2015-05-26 16:14:22 -07:00
Michael Hackstein
8bcbdfaa61
Merge branch 'devel' of github.com:/arangodb/arangodb into devel
2015-05-26 10:38:30 -07:00
Michael Hackstein
8b1cef7f76
CPP Neighbors is now able to take an array of examples instead of only a single one.
2015-05-26 09:51:04 -07:00
Jan Steemann
8d29b600d3
fixed Windows compile errors
2015-05-26 18:40:27 +02:00
Jan Steemann
07e553cd8d
Merge branch 'devel' of https://github.com/arangodb/arangodb into index-cxx
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
2015-05-26 17:07:26 +02:00
Jan Steemann
13772cae82
fixed memleak
2015-05-26 16:23:50 +02:00
Jan Steemann
4b67c7a735
several fixes for indexes
2015-05-26 13:35:11 +02:00
Jan Steemann
0d6bd8876c
fixed wrong memory zone
2015-05-26 09:41:10 +02:00
Michael Hackstein
76c33a577c
Neighbors is now able to take exactly one edge example onto the CPP level. Now working on a list of examples
2015-05-25 12:39:44 -07:00
Max Neunhoeffer
ad7b73480f
Make CPP_NEIGHBORS more flexible.
2015-05-23 20:10:16 -07:00
Jan Steemann
a9f2769ffa
now compiles and links
2015-05-23 04:31:13 +02:00
Max Neunhoeffer
c3ee3e8e00
Document indexBuckets option for collection properties.
2015-05-22 16:16:20 -07:00
Max Neunhoeffer
663ed1349d
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2015-05-22 16:12:34 -07:00
Michael Hackstein
0b8e9eb59c
Fixed minor inconsistency in AQL NEIGHBORS and adapted tests to the new version. It will now Return the list of vertices. not the pair<edge, vertex> any more
2015-05-22 15:30:24 -07:00
Jan Steemann
9a1b3d0b52
in the middle of changes - need to go home now
2015-05-22 22:15:26 +02:00
Jan Steemann
a5b6f00b7f
moved indexes to cxx
2015-05-22 20:15:14 +02:00
Jan Steemann
20f9be88e4
cleanup
2015-05-22 14:17:05 +02:00
Jan Steemann
98e3b293e1
fixed memleak
2015-05-22 11:03:02 +02:00
Max Neunhoeffer
1ce660a649
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2015-05-21 09:01:14 -07:00
Jan Steemann
892127d9a2
extended dfdb capabilities, updated dfdb manual section
2015-05-21 15:26:12 +02:00
Max Neunhoeffer
d57847be0d
Mark two memleaks to fix them tomorrow.
2015-05-20 22:28:53 -07:00
Jan Steemann
d4285fc6fd
fix Visual Studio compile warnings
2015-05-20 16:12:30 +02:00
Jan Steemann
688b21fe51
fixed namespaces
2015-05-20 15:49:39 +02:00
Jan Steemann
b14d2470ab
added `--server.session-timeout`
2015-05-20 15:22:03 +02:00
Willi Goesgens
8e858bc96d
Upgrade V8 to 4.2.77
...
- v8 now requires llvm libstdc++ inline
- ForceDelete is gone now; employ new tactics of working with wrapping shaped json
- gold crashes while linking V8, remove it.
2015-05-20 15:10:28 +02:00
Jan Steemann
d715ba6707
clear sid cache when dropping a database
2015-05-20 13:51:59 +02:00
Jan Steemann
b9326a251e
fix path
2015-05-20 09:41:26 +02:00
Michael Hackstein
86c7f87dd3
Merge branch 'cppTrav2' into devel
2015-05-19 16:17:27 -07:00
Michael Hackstein
8494ddb85d
The shortest_path now allows to use vertexExample and edgeExamples. Also it allows t add additional vertex and edge collections in the options. If you want to use vertexExample and your edge collection is pointing to other vertex collections then the on in the first parameter you have to give the additional collection in the options
2015-05-19 14:26:14 -07:00
Jan Steemann
db9e9d7c47
better dfdb diagnostics
2015-05-19 23:12:36 +02:00
Jan Steemann
ba48e56a71
preparation work for multi-database foxx queues
2015-05-19 18:50:29 +02:00
Jan Steemann
db926a4057
store sessions in database-specific container
2015-05-19 15:41:15 +02:00
Jan Steemann
c88b731acf
save some mallocs for strings in AQL
2015-05-18 23:40:28 +02:00
Jan Steemann
94e66d057d
please the VisualStudio compiler
2015-05-18 11:08:07 +02:00
Max Neunhoeffer
9e588a6ab5
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2015-05-18 01:40:18 -07:00
Max Neunhoeffer
a3923c9eaf
Fix configurability of indexBuckets.
2015-05-18 01:39:54 -07:00
Jan Steemann
30a9f44e64
please the VisualStudio compiler
2015-05-18 10:33:37 +02:00
Max Neunhoeffer
13204298d9
Make number of buckets in edge index configurable.
2015-05-17 19:04:47 -07:00
Michael Hackstein
d832a7579a
The new shortest path is now able to take exactly one edge example. Has to be improved to use a list of examples
2015-05-15 15:08:17 -07:00
Michael Hackstein
5360172a7b
The ExampleMatcher is now able to use a v8 json object as example for matching in the constructor
2015-05-15 09:56:16 -07:00
Michael Hackstein
7ba7482d58
Implemented an ExampleMatcher class to be used for path filtering. Is now used in byExample queries as well. API not fixed yet.
2015-05-14 13:29:42 -07:00
Michael Hackstein
3b3a28e16a
The CPP shortest path can now live with non existent vertices and even with non existent vertex collections (dropped after edge creation but before path computation)
2015-05-12 15:39:04 -07:00
Michael Hackstein
c785388366
Shortest path is now able to either return data or ids. Also if collections not known beforehand are found on the path
2015-05-12 12:07:11 -07:00
Willi Goesgens
eea77e23a2
Free collection in case of creating the return object fails.
2015-05-11 15:28:03 +02:00
Michael Hackstein
efaccccb4e
The Shortest path is now able to handle graphs with several vertex collections, but only one edge collection.
2015-05-10 20:38:25 -07:00
Jan Steemann
cb38a5459e
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-05-08 17:45:16 +02:00
Jan Steemann
5ad7dea0c8
use auto for HTTP response headers iteration
2015-05-08 17:44:33 +02:00
Jan Steemann
40067e6c96
added documents()
2015-05-08 17:11:44 +02:00
Jan Steemann
27f41c9dea
cast for VS
2015-05-08 09:53:00 +02:00
Michael Hackstein
3cbac8ae25
The Neighbors can now be requested distinct. However this is not introduced to AQL due to missing options parameter, would change API
2015-05-07 17:17:18 -07:00
Michael Hackstein
323d34f629
The new CPP neighbors now take all three directions
2015-05-07 16:33:05 -07:00
Frank Celler
154b94c105
added internal support for SID
2015-05-07 15:54:57 +02:00
Jan Steemann
6b412a1c01
Merge branch 'json-privatisierung' of https://github.com/arangodb/arangodb into json-privatisierung
2015-05-07 13:05:12 +02:00
Jan Steemann
855c1465fd
added documentation for new simple methods
2015-05-07 11:42:58 +02:00
Michael Hackstein
b70cce0353
Use cpp neighbors in AQL
2015-05-06 16:29:50 -07:00
Michael Hackstein
aef5432d31
Allowed he neighbors function to switch between data and ids only
2015-05-06 16:00:35 -07:00
Willi Goesgens
e1262a1078
Initialize forgottone member.
2015-05-06 18:06:28 +02:00
Jan Steemann
0996d603c6
fulltext improvements
2015-05-06 14:21:32 +02:00
Michael Hackstein
b89c28e141
Now allows the new CPP traversal to contain the vertex data. Edgedata is yet to come
2015-05-05 22:49:37 -07:00
Jan Steemann
c677ea8b88
added tests for collection.lookupByKeys() and collection.removeByKeys()
2015-05-05 17:57:33 +02:00
Jan Steemann
a007a867ee
"privatized" TRI_vector_t internals.
...
This allows changing the internals of TRI_vector_t structs in order to make the struct smaller.
On 64 bits, the size of TRI_vector_t is reduced from 48 bytes to 28 bytes.
TRI_json_t does benefit from this, as its biggest component is a TRI_vector_t.
2015-05-05 10:31:02 +02:00
Willi Goesgens
312972a4ec
Modify examples so they clean up after their run.
2015-05-04 17:22:25 +02:00
Michael Hackstein
4c7b9459d5
The cpp shortest path now returns _id instead of _key. First implementation of cpp neighbors. Returns only vertexIds now.
2015-05-03 00:13:30 -07:00
Michael Hackstein
ca0de62aa3
Moved all v8 context sensitive parts into from V8Traverser v8-vocbase
2015-05-02 21:46:54 -07:00
Max Neunhoeffer
97f7743d84
Less copying in Traverser.
2015-05-02 06:28:52 +02:00
Michael Hackstein
91fa1cb6f8
Merge branch 'cppTrav3' of github.com:/arangodb/arangodb into cppTrav
2015-05-01 17:08:56 -07:00
Michael Hackstein
9edb48b1cf
Made everything compile again
2015-05-01 17:07:02 -07:00
Michael Hackstein
13e765f6d9
Further reduced copying in Traverser
2015-05-01 16:18:45 -07:00
Michael Hackstein
73db004a85
Reduced string copy in traverser
2015-05-01 14:49:31 -07:00
Max Neunhoeffer
24d04148c8
Schaltbar.
2015-05-01 10:30:30 -07:00
Jan Steemann
0099fe260a
return value optimization for AQL
2015-04-30 23:38:27 +02:00
Max Neunhoeffer
65c4c5629d
Highly experimental aggregation experiment. Do not use.
2015-04-30 00:44:39 -07:00
Willi Goesgens
fd6fc37429
Use the proper fee function for json structures - fixes memleak.
2015-04-28 13:25:31 +02:00
Michael Hackstein
ed7666e81e
Improved code readablity and implemented a distance attribute based weighting function
2015-04-27 23:58:07 -07:00
Willi Goesgens
57e361a74b
Adust documentation snipets
...
- they now node when they expect to throw an exception, so all exceptions else thrown are real bugs
- bugs some snippets fixed
- some snippets now do a proper setup & teardown
2015-04-27 17:12:35 +02:00
Jan Steemann
96fdbe91dc
issue #1318 : Inconsistent db._create() syntax
2015-04-27 10:51:22 +02:00
Michael Hackstein
7f3a9fbcae
Included the CPP Shortest path into AQL. Only under certain conditions
2015-04-26 22:17:23 -07:00
Michael Hackstein
6e7e127b97
Rebase cleanup
2015-04-25 21:58:57 -07:00
Max Neunhoeffer
d1ab2a9d6f
Make bidirectional switchable.
2015-04-25 21:48:33 -07:00
Michael Hackstein
5e1909eef1
Added weight Info.
2015-04-25 21:47:44 -07:00
Michael Hackstein
599240fb21
Removed couts
2015-04-25 21:47:43 -07:00
Max Neunhoeffer
84f1ae1659
Add some more couts.
2015-04-25 21:46:23 -07:00
Max Neunhoeffer
7a80feee40
Correct edge expander.
2015-04-25 21:42:17 -07:00
Max Neunhoeffer
e508a1697d
Use new PriorityQueue, compiles, does not work.
2015-04-25 21:41:45 -07:00
Max Neunhoeffer
5ccab6b3a8
Sort out mess with strange non-copying.
2015-04-25 21:40:44 -07:00
Max Neunhoeffer
2c5f56672c
Snapshot.
2015-04-25 21:39:04 -07:00
Michael Hackstein
de699494af
Fixed problem with thread construction for constant string
2015-04-25 21:38:07 -07:00
Michael Hackstein
c1c98b16f6
Added version with broken threads. Computation is correct, but threads do not fire up
2015-04-25 21:36:24 -07:00
Michael Hackstein
6f81b0add1
Further implementation of Shortest Path. The Shortest path is found in cpp conversion to JS not yet working
2015-04-25 21:35:40 -07:00
Michael Hackstein
e092bda62f
Further implementation of simple expander. Also included Path -> JSON converter.
2015-04-25 21:35:39 -07:00
Max Neunhoeffer
6cd05d0154
Make it compile. Probably still fishy.
2015-04-25 21:34:41 -07:00
Michael Hackstein
9f1830b4c5
Started implementing the Expander function. Not et finished does not compile but i am moving over to a new machine
2015-04-25 21:34:41 -07:00
Michael Hackstein
85c13802d4
First commit. Started implementing dijkstra in C++. Got all the transaction stuff up and running now. Time to write down the algorithm.
2015-04-25 21:34:40 -07:00
Thomas Schmidts
fb7af0e86f
Fixed #1303 Deleted one sentence from the documentation
2015-04-24 16:49:00 +02:00
Jan Steemann
32b547886b
fixed up some headers
2015-04-24 13:11:29 +02:00
Jan Steemann
629883041c
added asserts
2015-04-21 12:08:09 +02:00
Jan Steemann
e2000f571f
try to satisfy scan-build
2015-04-16 15:04:11 +02:00
Jan Steemann
7c393dec44
fixed assertion error on shutdown
2015-04-13 16:24:19 +02:00
Max Neunhoeffer
bd0724add6
Fix retry behaviour in some places of cluster code.
2015-04-13 13:03:40 +02:00
Max Neunhoeffer
1709a25163
Startup V8 threads concurrently in multiple C++11 threads.
...
Conflicts:
arangod/V8Server/ApplicationV8.cpp
2015-04-13 12:07:26 +02:00