Jan Steemann
82940cda10
use std::vector
2015-08-10 16:43:59 +02:00
Jan Steemann
5d82f0b385
some cleanup
2015-08-07 15:16:33 +02:00
Max Neunhoeffer
3eb9799ac0
Use ThreadProtector for lists of databases.
2015-08-06 15:57:47 +02:00
Willi Goesgens
021d01e4fe
Rework index documentation; add more executed examples.
2015-08-04 18:42:44 +02:00
Jan Steemann
342e44c374
removed tabs
2015-08-04 14:32:37 +02:00
Jan Steemann
c163d602ff
updated documentation for `indexBuckets`
2015-08-04 14:13:01 +02:00
Willi Goesgens
8130368f43
Work on re-grouping the index documentation, using automated examples.
2015-08-04 13:44:25 +02:00
Jan Steemann
a8041f20dc
added debugging method
2015-07-30 14:00:19 +02:00
Jan Steemann
b331c22d37
use std::vector
2015-07-29 16:07:05 +02:00
Jan Steemann
5ae47a7403
Merge branch 'shaper-cxx' of https://github.com/arangodb/arangodb into devel
2015-07-29 13:50:42 +02:00
Michael Hackstein
525887eb3e
Fixed some functions that did throw plain int values. Now they throw proper error objects and are passed over to V8 contexts eventually
2015-07-29 13:49:12 +02:00
Jan Steemann
6d7ccd7699
move shaper to cxx
2015-07-28 17:38:31 +02:00
Jan Steemann
fe809932af
cleanup of enterContext/exitContext
2015-07-27 18:04:20 +02:00
Frank Celler
f96ab73745
Merge branch 'dispatcher' of github.com:arangodb/arangodb into devel
2015-07-24 11:32:22 +02:00
Michael Hackstein
89ca3f68b9
Fixed edgeExamples in CPPOnly Neighbors function
2015-07-23 16:08:32 +02:00
Frank Celler
35a3c6421c
moved dispatcher to atomic
2015-07-23 15:40:34 +02:00
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
Thomas Schmidts
d7dc9ea169
Fixed broken examples in the documentation
2015-04-12 13:47:26 +02:00
Alan Plum
966af1a750
Added global/GLOBAL/root to global context.
2015-04-07 16:47:09 +02:00
Jan Steemann
20a4299d0d
use nullptr
2015-04-03 14:59:49 +02:00
Jan Steemann
37e0233d10
Revert "added missing files for JSH"
...
This reverts commit 99b80dd1e338ec122fea54e6af604f2310f1e080.
2015-04-03 14:57:52 +02:00
Jan Steemann
8b132ad60f
added missing files for JSH
2015-04-03 14:57:12 +02:00
Jan Steemann
6dfb4d4b09
Merge branch 'devel' of https://github.com/arangodb/arangodb into cursor-refactoring
...
Conflicts:
arangod/Aql/ExecutionBlock.cpp
lib/HttpServer/HttpHandler.cpp
lib/HttpServer/HttpServerJob.h
2015-03-31 15:13:31 +02:00
Jan Steemann
6f4fadd630
removed .o files
2015-03-31 14:45:22 +02:00
Frank Celler
ffbc45d2e2
new HttpServer & HttpCommTask
...
Conflicts:
Makefile.in
arangod/Aql/RestAqlHandler.cpp
arangod/Aql/grammar.cpp
arangod/Cluster/RestShardHandler.cpp
lib/GeneralServer/GeneralServer.h
lib/GeneralServer/GeneralServerDispatcher.h
lib/HttpServer/HttpServerJob.h
lib/HttpServer/HttpsCommTask.h
lib/SimpleHttpClient/SslClientConnection.cpp
2015-03-31 09:12:01 +02:00
Jan Steemann
925f4fbab6
cleanup of some static const variables
2015-03-30 21:43:55 +02:00
Jan Steemann
80a99ab23e
refactored cursor API
2015-03-30 14:58:51 +02:00
Jan Steemann
c352ba6a03
small logging refactoring
2015-03-26 03:09:07 +01:00
Jan Steemann
3555cdb0fe
removed unused method
2015-03-25 17:00:47 +01:00
Jan Steemann
e230ac11c0
fixed leak
2015-03-25 16:55:45 +01:00
Frank Celler
4c5d57f1b8
merged Exceptions.h and Exception.h
2015-03-23 14:05:19 +01:00
Jan Steemann
d63f47e840
added possibility to kill JS traversals
2015-03-20 23:05:41 +01:00
Jan Steemann
7cce25967e
fixed potential undefined behavior
2015-03-19 11:05:49 +01:00
Jan Steemann
57daabee81
fix for potential undefined values
2015-03-19 10:59:29 +01:00
Jan Steemann
85308fa7f3
removed remainder of development mode
2015-03-19 10:33:31 +01:00
Jan Steemann
30e44ef553
override
2015-03-13 18:27:29 +01:00
Jan Steemann
f035ea1c3b
kill AQL queries
...
Conflicts:
arangod/Aql/ExecutionBlock.cpp
2015-03-12 15:00:14 +01:00
Jan Steemann
64d77cbe24
added query tracking feature
2015-03-12 13:02:13 +01:00
Jan Steemann
22200118e1
added method getCoordinators()
2015-03-06 14:02:16 +01:00
Willi Goesgens
73086d9176
wrong index on the strings.
2015-03-05 15:55:32 +01:00
Willi Goesgens
d2230b3811
Add logging of V8 shutdown, relax timeout for Valgrind.
2015-03-05 10:56:06 +01:00
Jan Steemann
1461d75ed4
improve collection loading time
...
This patch reduces collection loading time by preallocating enough space in primary index ahead of time.
When a collection is closed, the number of documents in the collection will be stored in the collection's JSON info file.
This value is used to determine the initial size for the primary index when the collection is loaded next time.
Datafile iteration has also been made slightly faster.
The above changes will have a significant benefit when the collection's datafiles are already in the OS buffer cache, and when there are no secondary indexes.
Loading datafiles from disk or building secondary indexes may be more time-consuming than the improvements reapable by this patch, but the patch shouldn't hurt anyway.
2015-02-26 16:35:51 +01:00
Jan Steemann
05fadde9e2
small changes
2015-02-19 13:58:50 +01:00
Jan Steemann
59936f1f98
small optimizations
2015-02-19 09:31:00 +01:00
Jan Steemann
83ea75fa8f
removed unused config options
2015-02-18 16:40:15 +01:00
Jan Steemann
f29591135a
adjusted geo index API
2015-02-18 14:59:46 +01:00
Jan Steemann
9ba591e961
handle call to sync() with wrong parameter type
2015-02-12 00:29:23 +01:00
Jan Steemann
b1d023821e
fixed tests
2015-02-11 18:46:52 +01:00
Jan Steemann
6f12e69bae
Merge branch 'devel' of https://github.com/arangodb/arangodb into sparse-indexes
2015-02-11 09:51:16 +01:00
Frank Celler
3e35e94a83
added hidden option --fronend-version-check
2015-02-10 21:24:24 +01:00
Jan Steemann
a0309c44e2
Merge branch 'devel' of https://github.com/arangodb/arangodb into sparse-indexes
...
Conflicts:
.travis.yml
2015-02-09 20:32:18 +01:00
Jan Steemann
82c7522d4e
test fixes
2015-02-09 20:08:06 +01:00
Max Neunhoeffer
dd0d57b41a
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel
2015-02-07 21:35:18 +01:00
Max Neunhoeffer
134aa7fce8
Add breakpoint facility via console for JavaScript code in server.
2015-02-07 21:34:20 +01:00
Jan Steemann
003d7e9112
sparse indexes, initial commit, untested
2015-02-07 03:07:41 +01:00
Jan Steemann
acc354839d
made functions static
2015-02-06 21:15:05 +01:00
Willi Goesgens
b17abadd42
Put error messages of simple http client into cluster comm results.
2015-02-04 11:25:12 +01:00
Jan Steemann
423d22ed71
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-02-02 18:56:17 +01:00
Frank Celler
23e66107a5
moved try/catch into a block
2015-02-02 17:07:31 +01:00
Jan Steemann
39603ebaf4
added selectivity estimates for some index types
2015-01-30 23:04:46 +01:00
Willi Goesgens
ba387a0483
Initialize the platform pointer.
2015-01-29 19:02:31 +01:00
Willi Goesgens
e666fd6dfc
Properly shut down V8 to make Valgrind happy
2015-01-29 17:31:30 +01:00
Frank Celler
7aa4591678
arangod/Aql/Expression.cpp
2015-01-29 15:21:14 +01:00
Willi Goesgens
293a3fe7d3
Differenciate whether we fail to locate or execute a script in error messages.
2015-01-27 12:25:40 +01:00
Jan Steemann
6a433177c0
use Escape
2015-01-24 14:06:20 +01:00
Jan Steemann
0d8bf44215
gc adjustment
2015-01-23 20:51:42 +01:00
Jan Steemann
0f94293efd
shutdown time
2015-01-23 18:56:01 +01:00
Jan Steemann
5d12a3da3b
garbage collection
2015-01-23 16:45:00 +01:00
Jan Steemann
8aeded5c86
fixed documentation
2015-01-22 13:36:01 +01:00
Willi Goesgens
b1f881254d
Upgrade V8 to 3.31.74.1
2015-01-19 19:29:31 +01:00
Jan Steemann
d534a41e21
recovery tests
...
Conflicts:
arangod/Wal/LogfileManager.cpp
Conflicts:
arangod/Wal/LogfileManager.cpp
2015-01-19 18:14:03 +01:00
Jan Steemann
578afe98d9
removed documentation for removed methods
2015-01-15 23:06:04 +01:00
Jan Steemann
b9c52dca9e
fix for intermittent 404 errors in Foxx and other actions
2015-01-15 23:06:04 +01:00
Jan Steemann
b54dfae96f
removed several JSON functions
2015-01-13 01:31:04 +01:00
Jan Steemann
25d30c2b96
indentation
2015-01-09 16:51:00 +01:00
Willi Goesgens
aa1cdc09e2
Make shure we leave all contexts we open in the propper sequence.
2015-01-08 17:53:13 +01:00
Jan Steemann
5f4fe21681
added asserts for context locker
2015-01-08 16:41:12 +01:00
Willi Goesgens
9e26914696
After freeing the locker, null its struct member so we remain to know its gone.
2015-01-08 16:20:30 +01:00
Jan Steemann
74bb6b6dc3
fix isolates and contexts
2015-01-07 18:15:29 +01:00
Jan Steemann
be4512fad3
removed duplicate method
2015-01-07 17:40:40 +01:00
Jan Steemann
ac0bb85c3d
issue #1201 : better error checking for fulltext index with multiple attributes
2015-01-05 09:41:56 +01:00
Frank Celler
1748e403e4
added TRI_FORCE_ARMV6
2014-12-23 16:31:20 +01:00
Jan Steemann
d358b80080
ES6
2014-12-20 04:02:24 +01:00
Jan Steemann
a82ac45190
fixed tests on ARM
2014-12-19 17:59:36 +01:00
Jan Steemann
fd5a723f30
removed deprecated methods
2014-12-19 14:00:58 +01:00
Jan Steemann
20e7fe7a7a
the great rename: array => object, list => array
2014-12-18 21:07:06 +01:00
Willi Goesgens
807643f000
the context-cope exits the context for us - we don't need to do this anymore by ourselves.
2014-12-17 14:32:03 +01:00
Willi Goesgens
fb3ec155a8
Re-Instanciate the context-scope guard were needed.
2014-12-17 13:59:56 +01:00
Max Neunhoeffer
bf915da2e3
Use an unordered_map for JSBarriers.
2014-12-16 09:57:44 +01:00
Jan Steemann
ac9836421d
removed todo
2014-12-15 21:48:49 +01:00
Jan Steemann
2e77d31d11
removed TODO
2014-12-15 21:47:01 +01:00
Jan Steemann
a90ee78ae1
fixed segfault
2014-12-15 20:48:10 +01:00
Willi Goesgens
1c4a72b106
The Big V8 upgrade Merge.
2014-12-15 17:30:56 +01:00
Jan Steemann
6aaa5f05a4
nullptr
2014-12-09 16:27:14 +01:00
Jan Steemann
23203a5437
indenting
2014-12-08 11:23:45 +01:00
Jan Steemann
d9a945e33a
include or exclude system collections from replication
2014-12-05 14:58:43 +01:00
Jan Steemann
399176cf67
fixed cursor ttl issue
...
Conflicts:
CHANGELOG
2014-12-05 09:18:32 +01:00
Jan Steemann
0cb5b70a3e
turned assertions into ifs
2014-12-04 11:15:33 +01:00
Frank Celler
77f544a554
Merge pull request #1144 from triAGENS/less-confusing-http-naming
...
Renamed mergeArrays->mergeObjects (because it's actually about objects, not arrays)
2014-12-03 14:48:04 +01:00
Jan Steemann
4ef82239a3
added optimizer statistics
2014-12-03 11:38:56 +01:00
Alan Plum
41ab3aa4d6
Renamed mergeArrays->mergeObjects to make API less confusing.
2014-12-02 17:03:03 +01:00
Patrick Huber
c9de415b1f
space, typo. DatabaseMethods.mdpp references v8-vocbase.cpp but this doc block is in v8-collection.cpp...
2014-12-01 15:11:30 +01:00
Jan Steemann
ac36c0cd7a
added mergeArrays attribute
2014-11-28 13:58:49 +01:00
Thomas Schmidts
c6b8e1a569
Fixed some dead links in the documentation
2014-11-21 09:13:50 +01:00
Jan Steemann
da468b2f58
allow lazier querying of hash index
2014-11-18 14:16:36 +01:00
Jan Steemann
a71bf1819c
issue #1099 : do not fail if general-graph.remove is used inside a transaction
2014-11-17 15:47:39 +01:00
Jan Steemann
21ef4579f5
updated documentation
2014-11-14 17:17:51 +01:00
Jan Steemann
cf784816a8
hide function
2014-11-14 16:43:34 +01:00
Jan Steemann
b0de1bb226
leaner and meaner error messages
2014-11-07 10:53:00 +01:00
Jan Steemann
e93a9a8ce2
fixed documentation
2014-11-06 13:39:35 +01:00
Jan Steemann
22d2cfd876
fixed documentation
2014-11-06 13:14:47 +01:00
Jan Steemann
2fe79a65a4
speed up AQL queries with V8 expressions
2014-11-05 16:59:57 +01:00
Jan Steemann
e5abbe92e9
fixed broken cursors if cursor size > batchSize
2014-11-05 12:19:36 +01:00
Willi Goesgens
bab1762ee9
Directly route results to v8-objects instead of going via a json object when calling AQL from a V8 context
2014-11-05 10:56:10 +01:00
Jan Steemann
26c3b0174f
fixed tests
2014-10-31 19:58:20 +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
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
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
7c180b31fb
hide experimental functions for now
2014-10-29 20:53:50 +01:00
Jan Steemann
13d240384f
less namespace pollution
2014-10-28 00:24:37 +01:00
Thomas Schmidts
d79ff5d74d
Fixed broken links
2014-10-24 17:49:01 +02:00
Willi Goesgens
91e04e3230
Implement outputting of splitted plans which are to be distributed to the db servers
2014-10-24 17:14:13 +02:00
Jan Steemann
bc4ae8e7df
fixed leak in IndexOperator, simplified IndexOperator API
2014-10-24 12:57:09 +02:00
Jan Steemann
65a52df7d1
added assertions
2014-10-23 13:55:18 +02:00
Jan Steemann
3dc2f9b299
fixed test
2014-10-22 16:30:06 +02:00
Jan Steemann
4cbb5ea939
fixed wrong if statement
2014-10-20 09:58:46 +02:00
Jan Steemann
2b68d83072
added enterContext and exitContext to Query
2014-10-17 12:01:50 +02:00
Jan Steemann
0aa02a696b
pass ApplicationV8 to queries
2014-10-17 10:35:02 +02:00
Jan Steemann
912a8162fb
some renaming
2014-10-16 17:23:50 +02:00
Jan Steemann
223820eba3
removed some macros
2014-10-16 16:31:49 +02:00
Jan Steemann
dcb9427b6f
rewrote transaction contexts
2014-10-16 15:53:28 +02:00
Jan Steemann
688e8ebbc1
better support for handling multipart requests
2014-10-16 02:05:57 +02:00
Jan Steemann
edae662eb4
added res.send() and res.sendFile()
2014-10-15 17:33:10 +02:00
Jan Steemann
6bd448be46
added support for reading / writing binary data in fs.readFileSync && fs.write
2014-10-14 19:07:16 +02:00
Jan Steemann
dfb1905035
fixed tests
2014-10-14 12:03:25 +02:00
Jan Steemann
f3e72a80dc
fixed compile warnings
2014-10-14 11:13:01 +02:00
Jan Steemann
9d02516e19
potential fix for issue #1041
2014-10-11 21:42:58 +02:00
Jan Steemann
5abfa7fdbd
whitespace
2014-10-10 13:42:20 +02:00
Jan Steemann
39c98c87f5
fixed memleak
2014-10-09 18:06:21 +02:00
Jan Steemann
6cdaaa1b85
fixes for Visual Studio
2014-10-09 10:45:31 +02:00
Jan Steemann
999d8ffd1d
small optimizations
2014-10-08 16:10:27 +02:00
Jan Steemann
ff80fafba5
fixed cached lookups of collections on the server, which may have caused spurious problems after collection rename operations
2014-10-08 14:59:02 +02:00
Jan Steemann
81ec1a2754
indentation
2014-10-03 00:12:00 +02:00
Jan Steemann
e28ad821b0
fixed spuriously occurring "database not found" error
2014-10-02 15:34:38 +02:00
Jan Steemann
0d9cdfc87c
struct Index
2014-10-01 15:35:16 +02:00
Jan Steemann
03790a75f2
hold logs for slightly shorter time
2014-09-30 23:20:43 +02:00
Jan Steemann
c4ce98a442
fixed some bugs in distributed plan instanciation
2014-09-30 15:19:44 +02:00
Jan Steemann
b78f54d94e
lookup function for keys
2014-09-30 14:47:58 +02:00
Jan Steemann
691e9f315c
cas adjustment for @mchacki
2014-09-29 16:09:45 +02:00
Jan Steemann
ec02ed2ccf
nullptr
2014-09-29 13:56:37 +02:00
Jan Steemann
0d075dca3f
pass queryRegistry into the AQL functions
2014-09-29 09:30:32 +02:00
Jan Steemann
c3ce45e0dd
added block instanciation for coordinator, v0.0.0
2014-09-26 20:17:42 +02:00
Jan Steemann
3afadfdefa
fixed compile warnings
2014-09-26 12:30:42 +02:00
Jan Steemann
8fa141e31b
removed invalid sequence from file
2014-09-26 12:09:01 +02:00
Jan Steemann
6eca3d6cc4
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-09-26 12:07:20 +02:00
Jan Steemann
046d2586ae
added temporary function for @mchacki
2014-09-26 12:06:57 +02:00
Thomas Schmidts
2e151f7ab0
Added type definition to db._create documentation
2014-09-26 11:53:44 +02:00
Max Neunhoeffer
f80f67f18b
Remove unused variable.
2014-09-25 12:06:09 +02:00
Jan Steemann
9fe3fedb45
unique_ptr
2014-09-24 17:14:37 +02:00
Jan Steemann
d5fb057603
less locking
2014-09-24 13:32:39 +02:00
Jan Steemann
1e66c86d08
fixed invalid document access
2014-09-24 12:27:36 +02:00
Jan Steemann
ddfb5c965d
merged experimental features
2014-09-24 09:42:16 +02:00
Jan Steemann
f8599b0f0f
removed unused instance variable
2014-09-23 13:14:53 +02:00
Jan Steemann
009396f7b0
Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/V8Server/v8-wrapshapedjson.cpp
2014-09-23 08:35:32 +02:00
Jan Steemann
80f18ad4b9
fixed copy-on-write for shaped json
2014-09-23 00:07:46 +02:00
Jan Steemann
92f87c19ce
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
2014-09-22 23:51:16 +02:00
Thomas Schmidts
e99a12c339
Fixed error in Documentation and changed visualization of deprecated chapters
2014-09-22 17:44:52 +02:00
Jan Steemann
b75af455e4
fixed property query
2014-09-22 17:22:01 +02:00
Jan Steemann
79c584d362
less memory usage for ShapedJson documents
2014-09-22 16:43:31 +02:00
Jan Steemann
38fdaa4066
removed unused function parameter
2014-09-19 20:28:41 +02:00
Jan Steemann
3d686d4028
test
2014-09-19 16:07:22 +02:00
Jan Steemann
76aaed94a0
make interface more user-friendly
2014-09-19 12:44:29 +02:00
Jan Steemann
6f4e799ccc
added `profile` option
2014-09-19 01:02:39 +02:00
Jan Steemann
1fff0ecac2
optimization for recovery of collections that are going to be dropped anyway
2014-09-18 18:20:56 +02:00
Jan Steemann
e5e2cfe4da
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
2014-09-17 11:50:42 +02:00
Jan Steemann
d3f4f05df1
issue #1020
2014-09-17 11:42:01 +02:00
Jan Steemann
93ed0f2255
added reverse iteration for skiplists
2014-09-16 22:23:40 +02:00
Jan Steemann
5c820cea34
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
2014-09-16 16:33:47 +02:00
Frank Celler
c577193ae4
added log of exception
2014-09-15 23:18:10 +02:00
Jan Steemann
481a16fd7a
removed bitarray indexes
2014-09-15 14:19:38 +02:00
Jan Steemann
5a1dc63946
fixed tons of compile errors in VS
2014-09-15 12:04:49 +02:00
Jan Steemann
506936dcdb
rename orgy
2014-09-13 02:35:13 +02:00
Jan Steemann
669cb3b235
renamed files
2014-09-13 01:44:01 +02:00
Jan Steemann
953b8cdfe3
renamed files
2014-09-13 00:34:48 +02:00
Jan Steemann
0dc0bc834f
more files renamed
2014-09-13 00:20:30 +02:00
Jan Steemann
87afcf5e8d
the great rename
2014-09-13 00:10:11 +02:00
Willi Goesgens
ae6956b6b5
AQL_EXECUTEJSON: parse the options similar to AQL_EXPLAIN & AQL_EXECUTE.
2014-09-12 12:09:41 +02:00
Jan Steemann
611ef2b73c
removed "old" AQL function AQL_EXPLAIN
2014-09-11 14:12:01 +02:00
Jan Steemann
672eec350e
removed "old" AQL function
2014-09-11 13:56:15 +02:00
Jan Steemann
cb4c60a36f
explain tests
2014-09-11 09:54:59 +02:00
Jan Steemann
c16ddedc83
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
js/apps/system/aardvark/frontend/js/bootstrap/errors.js
js/common/bootstrap/errors.js
js/server/modules/org/arangodb/ahuacatl.js
js/server/modules/org/arangodb/aql-helper.js
js/server/tests/shell-skiplist-index.js
2014-09-09 22:18:52 +02:00
Jan Steemann
428865f3b5
issue #1014 : WITHIN function returns wrong distance
...
added attribute setters for ShapedJson so document attributes can be updated
Conflicts:
arangod/V8Server/v8-vocbase.cpp
2014-09-09 19:58:27 +02:00
Jan Steemann
41375624d2
optionally make AQL_EXPLAIN return all generated plans
2014-09-09 15:42:22 +02:00
Jan Steemann
3ea0c8ec28
remove pending dispatcher jobs on shutdown
2014-09-08 15:03:19 +02:00
Jan Steemann
72cc344935
fixed buffer memleak
2014-09-08 12:05:28 +02:00
Jan Steemann
7851e5e54c
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
2014-09-01 11:05:41 +02:00
Jan Steemann
f60952a12e
fixed compile warnings and errors in Visual Studio
2014-09-01 10:42:11 +02:00
Jan Steemann
7d500b7234
speed up instanciation of v8 ShapedJson objects
...
now a static buffer is used to create multiple string values
such as `_id`, `_key`, `_rev`, `_from` and `_to`.
this saves a few memory allocations per document
Conflicts:
arangod/Utils/CollectionNameResolver.h
arangod/V8Server/v8-vocbase.cpp
2014-08-30 01:47:58 +02:00
Jan Steemann
6844433558
do not complain about missing dispatcher when server is started with `--no-server` option
2014-08-30 01:34:10 +02:00
Jan Steemann
c90777738d
speed up instanciation of v8 ShapedJson objects
...
now a static buffer is used to create multiple string values
such as `_id`, `_key`, `_rev`, `_from` and `_to`.
this saves a few memory allocations per document
2014-08-30 01:32:20 +02:00
Jan Steemann
1367a016cf
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
2014-08-29 20:38:30 +02:00
Jan Steemann
9530a12472
AQL_EXECUTE
2014-08-29 17:39:23 +02:00
Jan Steemann
3b2cf352ad
added functionality to activate/deactivate optimizer rules
2014-08-29 16:31:07 +02:00
Thomas Schmidts
3a695c15fd
Added text to documentation
2014-08-29 14:09:49 +02:00
Jan Steemann
910c029730
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
2014-08-28 14:28:11 +02:00
Jan Steemann
a2da3eb7ee
removed debug output
2014-08-28 14:27:43 +02:00
Jan Steemann
a014b44ba4
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/Utils/Transaction.h
2014-08-28 11:06:14 +02:00
Jan Steemann
5930c3db70
added NTH function
2014-08-28 11:03:48 +02:00
Jan Steemann
2628afb426
cleanup
2014-08-27 22:46:26 +02:00
Jan Steemann
5b20348d26
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
2014-08-27 19:39:13 +02:00
Jan Steemann
dfaca5523c
initialize variable
2014-08-27 19:38:53 +02:00
Jan Steemann
cd1d0c45f8
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/V8Server/v8-query.cpp
2014-08-27 19:25:37 +02:00
Jan Steemann
cda10393f5
some traversal speedups
2014-08-27 18:56:51 +02:00
Jan Steemann
92739aa04d
indentation
2014-08-23 02:58:28 +02:00
Jan Steemann
dcfa59806e
more C++11
2014-08-23 00:51:13 +02:00
Jan Steemann
835b26f17c
only initialize v8 dispatcher when there is a dispatcher
...
when the server is started with the --no-server option, the v8 dispatcher
was still initialized and this always failed and printed error messages.
2014-08-22 21:51:53 +02:00
Jan Steemann
a70a9613f6
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
lib/BasicsC/voc-errors.h
2014-08-22 21:51:38 +02:00
Jan Steemann
9f9277357b
some more asserts
2014-08-22 17:57:47 +02:00
Jan Steemann
0a439474e5
cppcheck
2014-08-22 12:51:26 +02:00
Jan Steemann
2b27957546
added AQL_EXPLAIN()
2014-08-22 09:51:48 +02:00
Frank Celler
bcf4902876
worker is now a function with context
2014-08-21 14:57:17 +02:00
Jan Steemann
f7737e3b62
added stats
2014-08-21 12:36:30 +02:00
Jan Steemann
1442b9ebeb
pass ExecutionEngine to ExecutionBlock, added stats for ExecutionEngine
2014-08-21 12:33:13 +02:00
Jan Steemann
1aeed2152c
fixed de-serialization
2014-08-21 10:02:30 +02:00
Willi Goesgens
d295bacb51
Json: add HTTP-Entrypoint into Javascript deserialisation.
2014-08-20 17:08:06 +02:00
Frank Celler
7b3cdf0bd0
fixed gc
2014-08-19 08:03:58 +02:00
Frank Celler
9fa3d22d6c
towards new dispatcher interface
2014-08-18 23:37:32 +02:00
Frank Celler
986bf7d0e8
added dispatcherThreads
2014-08-18 12:08:33 +02:00
Jan Steemann
f8cf5dc26d
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
2014-08-15 18:47:18 +02:00
Jan Steemann
97fd5a55ba
renamed variable
2014-08-15 18:12:58 +02:00
Thomas Schmidts
415fefdafa
Fixed small formatation error
2014-08-15 11:01:56 +02:00
Jan Steemann
cfefe17a15
fixed types
2014-08-14 17:29:58 +02:00
James
6292cafa52
fixed bugs in last.
2014-08-14 17:17:37 +02:00
James
eb6cf43efc
added additional options to JS_ExecuteAql.
2014-08-14 17:00:20 +02:00
James
b5327b3770
Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2
2014-08-14 15:21:07 +02:00
James
392c1db4c3
JS_ExecuteAql now returns a cursor.
2014-08-14 15:20:52 +02:00
Willi Goesgens
8da5a6c0b3
Cleanup: killall tabs.
2014-08-14 13:17:21 +02:00
Jan Steemann
30b32f1f90
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/Ahuacatl/ahuacatl-grammar.h
arangod/V8Server/v8-vocbase.cpp
js/server/tests/ahuacatl-general-graph.js
2014-08-13 16:29:57 +02:00
Jan Steemann
277290fc0e
unification with aql2 code
2014-08-13 16:22:17 +02:00
Max Neunhoeffer
28f0d7be05
Sort out TRI_CompareValuesJson to use UTF8 on demand.
2014-08-13 14:22:05 +02:00
Frank Celler
7a6d5413a1
database version is now AABBCC, where AA = major, BB = minor, CC = patch
2014-08-12 09:58:42 +02:00
Frank Celler
cc91cd1cb0
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2014-08-11 12:43:47 +02:00
Max Neunhoeffer
13ef2912a3
Better error message and remove unnecessary file.
2014-08-08 16:30:05 +02:00
Willi Goesgens
6522df2e52
v8-vocbase split: clean up includes - more includes to get rid of.
2014-08-08 13:48:28 +02:00
Jan Steemann
d30914afb2
Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/Aql/ExecutionBlock.h
arangod/Aql/ExecutionEngine.cpp
2014-08-07 17:25:37 +02:00
Willi Goesgens
bfdc940450
v8-vocbase split: clean up includes
...
- Move includes from Types .h -> .cpp
- Move forward Declerations to their respective headers.
2014-08-07 16:17:40 +02:00
Jan Steemann
c7350c4c06
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
2014-08-07 16:12:14 +02:00
Jan Steemann
099ec8db60
reallow attribute names starting with underscores
2014-08-07 15:52:58 +02:00
Willi Goesgens
9f03c16a6b
v8-vocbase split: clean up includes - more tricky hidden dependencies can be removed.
2014-08-07 15:50:50 +02:00
Frank Celler
be06ef7f25
new upgrade-database (formely known as version-check) and new startup procedure
2014-08-07 14:12:19 +02:00
Willi Goesgens
ba5365d9e9
v8-vocbase split: clean up includes.
2014-08-07 11:55:22 +02:00
Willi Goesgens
226790a353
v8-base splitting: adjust filenaming to the convention.
2014-08-06 12:54:24 +02:00
Willi Goesgens
b068fa92ed
v8-vocbase splitting: fix initialisation.
2014-08-06 12:49:59 +02:00
Willi Goesgens
a7d241cdd8
Split v8-vocbase.cpp into handy bits.
2014-08-05 18:59:40 +02:00
Jan Steemann
ae04cb95d9
fixed compile errors
2014-08-05 15:04:42 +02:00
James
1d912648cd
removing previous use of queryResult.json in JS_ExecuteAql.
2014-08-05 14:43:51 +02:00
James
fbc6ae2267
Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2
2014-08-05 14:37:29 +02:00
James
6772762c60
preparing json return value for queryResult.
2014-08-05 14:37:08 +02:00
Max Neunhoeffer
5cbbd8a4c4
Fix barrier and documentCollection access in Expressions.
...
Still does not link.
2014-08-05 14:33:54 +02:00
Jan Steemann
196441b9b4
improved v8 object generation
2014-08-05 13:23:37 +02:00
Jan Steemann
932aac9d06
added method signature
2014-08-05 10:58:58 +02:00
Jan Steemann
4603d2a1dd
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
2014-08-01 17:54:41 +02:00
Max Neunhoeffer
390f0fe605
Implement distributeShardsLike
2014-08-01 17:05:04 +02:00
Jan Steemann
2881409527
renaming
2014-08-01 11:46:31 +02:00
Max Neunhoeffer
5bf0ff1a7c
Rename files ExecutionPlan -> ExecutionNode
2014-08-01 11:26:09 +02:00
Jan Steemann
2574982771
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
2014-07-31 18:18:08 +02:00
Jan Steemann
d7429d3c6c
removed parameter
2014-07-31 16:04:43 +02:00
Jan Steemann
1ff3d44e88
removed AQL_PENG
2014-07-31 12:30:16 +02:00
Max Neunhoeffer
98d82de6fb
Create generic recursive walk functionality for Plans/Blocks.
2014-07-31 10:31:45 +02:00
Jan Steemann
1382a9ed81
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
2014-07-31 09:05:09 +02:00
Max Neunhoeffer
2ef0095797
Start static analysis of variables in ExecutionBlocks.
2014-07-30 23:50:03 +02:00
Max Neunhoeffer
22dc301745
Change signature of RootPlan.
2014-07-30 17:05:38 +02:00
Max Neunhoeffer
d09f2690da
Get rid of _nrVars in ExecutionPlans.
2014-07-30 17:00:38 +02:00
Jan Steemann
6442bc4353
fixed race condition in task setup
2014-07-30 15:54:39 +02:00
Jan Steemann
f4e8775ddc
nicer parser error messages
2014-07-30 12:30:06 +02:00
Max Neunhoeffer
e690185bf5
Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2
2014-07-29 16:27:39 +02:00
Max Neunhoeffer
57560108e0
Peng mit shared_ptr.
2014-07-29 16:27:25 +02:00
Jan Steemann
6bbc3eaf49
fixed expand nodes
2014-07-29 15:51:51 +02:00
Max Neunhoeffer
65b477ddbd
Snapshot, compiles, does not work.
2014-07-29 13:40:54 +02:00
Max Neunhoeffer
bf3af53d10
Add a lineend.
2014-07-29 11:21:07 +02:00
Max Neunhoeffer
43ac089187
Seems to work.
2014-07-28 16:55:45 +02:00
Max Neunhoeffer
5684bb5b65
Add RootBlock and stuff.
2014-07-28 16:26:24 +02:00
Jan Steemann
765e44e80b
execution v0.0000001
2014-07-28 15:51:38 +02:00
Jan Steemann
cc43d1190c
inject bind parameters
2014-07-28 12:30:55 +02:00
Jan Steemann
1be0fa6ee2
dump AST
2014-07-25 18:18:40 +02:00
Jan Steemann
33215ca194
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
2014-07-25 16:57:12 +02:00
Jan Steemann
062b6f1dcf
parser!
2014-07-25 16:56:53 +02:00
Jan Steemann
2ee0390e10
reordered attribute names
2014-07-24 13:44:57 +02:00
Jan Steemann
cdf9ce0002
renaming
2014-07-24 11:45:59 +02:00
Jan Steemann
5e2ac40608
copied query error
2014-07-24 11:18:20 +02:00
Jan Steemann
b7b5c661a7
cxx
2014-07-24 09:43:08 +02:00
Jan Steemann
8cb85fd973
optimization for AQL queries with limit
2014-07-23 17:15:01 +02:00
Jan Steemann
712358d069
added optional `ttl` attribute to specify result cursor expiration for HTTP API method `POST /_api/cursor`
...
The `ttl` attribute can be used to prevent cursor results from timing out too early.
2014-07-21 15:48:43 +02:00
Jan Steemann
ddf69e99a9
fixed tasks with offset 0.0
2014-07-21 14:22:39 +02:00
Frank Celler
e436ecfa40
if a cancelation has occured, flush the module cache
2014-07-08 11:54:53 +02:00
Jan Steemann
607267a675
small fixes
2014-07-08 00:31:48 +02:00
Thomas Schmidts
1a78807a67
Fixed a few @startDocuBlock errors
2014-07-07 16:15:50 +02:00
Jan Steemann
ddb26d76f8
wrote documentation for WAL
2014-07-06 18:31:41 +02:00
Jan Steemann
08654635f1
fixed examples
2014-07-06 13:53:45 +02:00
Jan Steemann
c12df38eb2
fixed broken examples
2014-07-06 02:25:19 +02:00
Jan Steemann
cb76a38bf1
added separate logfile remover thread
2014-07-05 16:41:15 +02:00
Jan Steemann
6f4ab77d9b
fixed WAL collector moving markers
2014-07-04 13:52:31 +02:00
Jan Steemann
0cbf99d6f0
cxx
2014-07-03 22:50:37 +02:00
Jan Steemann
7554ead5d4
fixed recovery
2014-07-03 16:58:10 +02:00
Jan Steemann
599176d1e3
do not delete foxx apps on replay
2014-07-03 11:42:16 +02:00
Jan Steemann
60fd8e44e4
nullptr
2014-07-03 10:17:10 +02:00
Thomas Schmidts
0328c9a900
Fixed a few spelling and code erros and deleted last examples
2014-07-02 17:48:54 +02:00
Thomas Schmidts
e46d87f23c
Changed documentation code in configure chapter
2014-07-02 14:08:41 +02:00
Jan Steemann
28965618d1
handle renaming of collections
2014-07-02 10:28:43 +02:00
Thomas Schmidts
55aa1645ac
Changes in the code documentation
2014-07-02 09:51:26 +02:00
Jan Steemann
ac2f6e61de
added "insert" method as an alias for "save"
2014-07-02 00:34:33 +02:00
Max Neunhoeffer
6d7708db12
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel
2014-07-01 17:00:36 +02:00
Max Neunhoeffer
2f784c7e4d
Add a WAL flush for the cluster to flush the WAL on all DBservers.
2014-07-01 17:00:05 +02:00
Jan Steemann
a5cf53d417
fixed examples
2014-07-01 16:48:47 +02:00
Jan Steemann
c28b672fe5
fixed test
2014-07-01 11:35:57 +02:00
Jan Steemann
d55626c038
xxx
2014-06-30 19:00:36 +02:00
Jan Steemann
d6a93a5535
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-06-30 13:07:56 +02:00
Jan Steemann
bda2db16da
recovery and replication
2014-06-30 13:07:48 +02:00
Thomas Schmidts
c263b2a5e1
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2014-06-29 03:34:42 +02:00
Thomas Schmidts
c2cb0d5a10
Some changes to the comments in the code
2014-06-29 03:34:22 +02:00
Jan Steemann
abf273d453
wait until gc thread is fully done
2014-06-29 00:20:22 +02:00
Jan Steemann
eabc3f8138
VS
2014-06-27 19:32:16 +02:00
Jan Steemann
067dbf63b2
WAL recovery
2014-06-27 19:11:41 +02:00
Jan Steemann
9ca37522a7
fixed undefined behavior in task shutdown
2014-06-26 15:44:08 +02:00
Jan Steemann
07d244488d
changed crud signatures
2014-06-26 12:37:01 +02:00
Jan Steemann
723a0ab265
fixed some memory errors
2014-06-26 11:52:37 +02:00
Thomas Schmidts
45f27782e0
More changes in the documentation code
2014-06-25 17:27:12 +02:00
Thomas Schmidts
a43e8e065d
Some changes in the documentation code
2014-06-25 16:29:17 +02:00
Thomas Schmidts
4d7b22b05a
Some changes in the documentation code
2014-06-25 15:17:51 +02:00
Thomas Schmidts
f7be757b0b
Some changes in the code documentation
2014-06-25 14:57:29 +02:00
Thomas Schmidts
34e1addcfb
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2014-06-24 17:23:54 +02:00
Jan Steemann
f411fceb2e
exposed WAL API
2014-06-24 16:10:27 +02:00
Thomas Schmidts
f4c6c97488
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2014-06-24 16:09:27 +02:00
Jan Steemann
c4aad1e0cd
added tests
2014-06-24 15:11:19 +02:00
Thomas Schmidts
0bf957ddd7
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2014-06-24 14:28:50 +02:00
Thomas Schmidts
0d969e6814
Changes in the gitbook, also bug fixing in code
2014-06-24 14:28:30 +02:00
Jan Steemann
303378d8e2
honor `--server.disable-statistics`
2014-06-24 12:06:47 +02:00
Jan Steemann
4f282cbe02
removed startup option `--database.remove-on-drop`
2014-06-24 11:54:32 +02:00
Jan Steemann
98f87b1f80
write-throttling
2014-06-24 10:55:05 +02:00
Jan Steemann
cc041c4851
typecasts
2014-06-24 08:20:35 +02:00
Jan Steemann
5ce280b5f4
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-06-24 00:38:33 +02:00
Jan Steemann
d56719ae4d
simplification of signatures
2014-06-24 00:32:40 +02:00
Thomas Schmidts
8d4527a8c9
Changed Documentation in code
2014-06-24 00:01:27 +02:00
Jan Steemann
e89e390cda
re-added replication applier
2014-06-23 17:55:08 +02:00
Jan Steemann
f72ccde9cf
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-06-23 17:46:25 +02:00
Jan Steemann
13e061bd76
fixed tests
2014-06-23 17:46:00 +02:00
Thomas Schmidts
03881bf63c
Made Examples instead of verbinclude
2014-06-23 17:16:19 +02:00
Thomas Schmidts
19bd94b967
Added line to Makefiles.files for code examples
2014-06-23 17:00:36 +02:00
Thomas Schmidts
af1805b627
Fixed small spelling errors
2014-06-23 15:15:50 +02:00
Thomas Schmidts
10a5b782fd
Some changes in the documentation code
2014-06-23 14:55:14 +02:00
Jan Steemann
c930740862
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-06-23 13:22:56 +02:00
Thomas Schmidts
7b11a3e9f3
Changed some comments in code
2014-06-23 13:22:02 +02:00
Jan Steemann
ebb7e61045
removed code for special handling of _trx and _replication
2014-06-23 09:03:42 +02:00
Thomas Schmidts
06e033c0c8
Some improvements in the python script
2014-06-23 08:55:47 +02:00
Jan Steemann
fc823938c0
nullptr
2014-06-21 03:27:38 +02:00
Jan Steemann
16bf152c8f
fully removed replication logger
2014-06-21 00:32:47 +02:00
Frank Celler
4dcf5dc817
updated disclaimer
2014-06-20 16:40:35 +02:00
Jan Steemann
7e52ebbc3b
fixes for Visual Studio
2014-06-20 15:46:33 +02:00
Thomas Schmidts
90ad06833f
Change some comments in the code
2014-06-20 15:10:16 +02:00
Jan Steemann
6c0dcf85c4
WAL DDL markers
2014-06-19 14:33:38 +02:00
Jan Steemann
8b9cdbe075
fixed tests
2014-06-18 16:34:11 +02:00
Jan Steemann
b952c6724d
recovery
2014-06-17 18:19:04 +02:00
Jan Steemann
acba4c8851
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
CHANGELOG
2014-06-17 15:31:04 +02:00
Frank Celler
f794ee8368
fixed datafile debugger
...
Conflicts:
CHANGELOG
2014-06-17 09:22:56 +02:00
Jan Steemann
a1177816aa
modifiable AQL, final syntax
2014-06-17 00:37:08 +02:00
Jan Steemann
37a30b420d
prevent exceptions
2014-06-14 15:05:54 +02:00
Jan Steemann
b54b89d68d
key generator rework
2014-06-14 00:33:40 +02:00
Jan Steemann
47999865d6
read-only mode
2014-06-13 15:32:13 +02:00
Jan Steemann
d7f35bcc7b
fixed datafile ticks issues
2014-06-13 14:46:21 +02:00
Jan Steemann
fabc51f889
fixed wrong ASSERT usage
2014-06-13 12:10:35 +02:00
Jan Steemann
1b94fbf904
fixed crash in dump
2014-06-13 01:53:44 +02:00
Jan Steemann
101b5ac95f
Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
2014-06-12 11:29:08 +02:00
Jan Steemann
dae5a5151d
call (still empty) WAL recovery procedure at startup
2014-06-12 11:28:48 +02:00
Max Neunhoeffer
ed1a588baa
Merge branch 'mjmh' of ssh://github.com/triAGENS/ArangoDB into mjmh
2014-06-12 10:39:13 +02:00
Max Neunhoeffer
82ab5bc0ac
More checks for protected getShaper accesses.
...
Also: Make arangodump possible using fake trx objects.
2014-06-12 10:38:39 +02:00
Jan Steemann
bca5b999d9
removed fcall
2014-06-12 10:26:53 +02:00
Jan Steemann
1cc46c4626
copy WAL documents
2014-06-12 10:26:24 +02:00
Jan Steemann
cc115a2766
removed outdated upgrade methods
2014-06-11 17:38:49 +02:00
Jan Steemann
b802973273
Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/Wal/CollectorThread.cpp
2014-06-11 11:33:48 +02:00
Jan Steemann
7e6750c397
wal flush w/ collection unload
2014-06-11 11:33:02 +02:00
Max Neunhoeffer
f0bef2496f
Make _shaper private and use getter/setter.
2014-06-11 11:18:22 +02:00
Max Neunhoeffer
c2bddb1c19
Let TRI_document_collection_t inherit from TRI_collection_t.
2014-06-11 10:51:47 +02:00
Jan Steemann
5a8cdb0ec5
wal flush
2014-06-11 09:32:20 +02:00
Max Neunhoeffer
c5e5e64135
Initialise _dataptr in constructor.
...
Fix a bug found by a unittest.
2014-06-10 21:42:23 +02:00
Jan Steemann
eba885d583
fixed member initialization in second constructor
2014-06-10 17:41:11 +02:00
Jan Steemann
dfc34c0c98
Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
2014-06-10 16:42:43 +02:00
Jan Steemann
7c599ef893
barriers
2014-06-10 16:42:15 +02:00
Max Neunhoeffer
c49f1a80d6
Went through all TRI_doc_mptr\(_copy\)_t ...
...
... to see whether _copy is needed.
2014-06-10 16:04:30 +02:00
Jan Steemann
c686c13c91
Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
2014-06-10 15:42:46 +02:00
Jan Steemann
ede9c634c3
assert
2014-06-10 15:42:39 +02:00
Max Neunhoeffer
02a8b4e388
Edge index lookup returns now TRI_doc_mptr_copy_t.
...
Move TRI_document_edge_t to voc-types.h.
2014-06-10 15:19:11 +02:00
Max Neunhoeffer
dbfe62fd66
TRI_SelectByExample now uses copies of master pointers.
2014-06-10 14:32:57 +02:00
Jan Steemann
aa173b315b
update cap constraint sizes
2014-06-10 13:40:33 +02:00
Jan Steemann
da9f8247fb
barriers are now created automatically by transactions
2014-06-10 11:56:40 +02:00
Jan Steemann
d9653bc462
DML for AQL
2014-06-10 09:30:27 +02:00
Jan Steemann
05ddccd515
fixed wrong sorts
2014-06-08 00:18:56 +02:00
Jan Steemann
72a102e794
major internal changes
2014-06-08 00:12:53 +02:00
Jan Steemann
ca959cab9d
simplified usage of transactions
2014-06-06 23:28:34 +02:00
Jan Steemann
3f6cb4d9ed
fixed update policy
2014-06-06 22:53:59 +02:00
Jan Steemann
368091d7c3
function cleanup
2014-06-06 21:35:34 +02:00
Jan Steemann
c6b8bb7313
do not create _trx collection
2014-06-06 17:06:07 +02:00
Jan Steemann
a289a7ac89
Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
2014-06-06 17:00:56 +02:00
Jan Steemann
7b9e3af0f1
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/VocBase/voc-shaper.cpp
2014-06-06 17:00:49 +02:00
Max Neunhoeffer
fd2c99443f
Introduce TRI_doc_mptr_copy_t for copies of master pointers.
...
Did not yet run through all occurrences of TRI_doc_mptr_t to see
whether they have to be TRI_doc_mptr_copy_t.
2014-06-06 16:59:32 +02:00
Frank Celler
315232f2c8
fixed order of checks
2014-06-06 15:10:27 +02:00
Jan Steemann
362838ae69
TRI_ASSERT
2014-06-06 11:25:19 +02:00
Esteban Lombeyda
b848ff00b5
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2014-06-06 10:55:11 +02:00
Jan Steemann
8da6824d15
added TRI_ASSERT and TRI_ASSERT_EXPENSIVE
2014-06-06 10:32:20 +02:00
Jan Steemann
cb5bb4eb0e
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/Makefile.files
arangod/RestHandler/RestEdgeHandler.cpp
arangod/V8Server/v8-vocbase.cpp
arangod/VocBase/voc-shaper.cpp
2014-06-05 22:58:49 +02:00
Jan Steemann
6344bb5a1e
merge
2014-06-05 22:28:19 +02:00
Jan Steemann
17981a92c2
more barriers
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
2014-06-05 22:23:48 +02:00
Esteban Lombeyda
78e8b56117
cleaning
2014-06-05 16:01:58 +02:00
Frank Celler
2cfb2e0577
fixed issue #883 : arango 2.1 - when starting multi-machine cluster, UI web does not change to cluster overview
...
Conflicts:
CHANGELOG
lib/ShapedJson/shape-accessor.cpp
lib/ShapedJson/shape-accessor.h
2014-06-05 15:58:19 +02:00
Max Neunhoeffer
35e00a3a4d
Revert "Do not copy TRI_doc_mptr_t."
...
This reverts commit ea1f82194dccdf212c9ef1f7ee8c5790b7e3c771.
We need to copy such that we can release the collection lock earlier.
2014-06-05 14:56:21 +02:00
Max Neunhoeffer
537160f2d5
Do not copy TRI_doc_mptr:t structs one more time.
2014-06-05 14:03:00 +02:00
Max Neunhoeffer
95933fb3c1
Do not copy TRI_doc_mptr_t.
2014-06-05 13:56:26 +02:00
Max Neunhoeffer
3e256a8aee
Fix allocation of TRI_doc_mptr_t structs.
2014-06-05 13:14:30 +02:00
Max Neunhoeffer
4de7e852f9
Merge branch 'mjmh' of ssh://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
arangod/VocBase/document-collection.cpp
2014-06-05 12:07:48 +02:00
Max Neunhoeffer
2776dc78fa
Make TRI_doc_mptr_t a C++ struct.
2014-06-05 12:03:57 +02:00
Jan Steemann
7783bc6687
made function private
2014-06-05 01:14:13 +02:00
Jan Steemann
3bda98a28c
Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/VocBase/document-collection.cpp
arangod/Wal/DocumentOperation.h
2014-06-04 17:36:00 +02:00
Jan Steemann
7b7f42118e
fixed some unique constraint violation handling
2014-06-04 17:28:06 +02:00
Max Neunhoeffer
a7792a5306
Looked through TRI_EXTRACT_MARKER_KEY for protection.
2014-06-04 15:40:09 +02:00
Max Neunhoeffer
a32bf12f2f
Looked at all _dataptr dereferences.
2014-06-04 15:18:25 +02:00
Jan Steemann
ad1feb0ed4
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
2014-06-04 14:30:28 +02:00
Frank Celler
eda4b0cde4
fixed dfdb
2014-06-04 11:02:42 +02:00
Max Neunhoeffer
13541cf4ec
Rename component _data -> _dataptr in master pointer.
2014-06-03 22:27:08 +02:00
Jan Steemann
8ea7fa5e4a
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
2014-06-03 17:18:02 +02:00
Thomas Schmidts
87e0d54f04
small changes for new documentation in code-docu
2014-06-03 14:55:39 +02:00
Esteban Lombeyda
3ec823c804
Error string for remove, replace, update modified
2014-06-03 14:35:06 +02:00
Jan Steemann
a9a12e42c8
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
Makefile.am
2014-06-03 10:18:08 +02:00
Jan Steemann
07e2fce6b8
fixed keepNull in cluster
2014-06-03 10:13:19 +02:00
Jan Steemann
e39e39b524
removed synchroniser
2014-06-02 16:04:56 +02:00
Jan Steemann
2c934cf1aa
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/RestServer/ArangoServer.cpp
arangod/V8Server/ApplicationV8.cpp
2014-06-02 09:52:05 +02:00
Frank Celler
8db4667755
cleanup of version-check, added option check-version
2014-06-01 13:37:21 +02:00
Jan Steemann
d4dd58b264
merged primary-collection.cpp with document-collection.cpp
2014-05-31 00:22:32 +02:00
Jan Steemann
19b0642d08
removed fsrt.inc
2014-05-30 20:39:02 +02:00
Jan Steemann
1fd155edc4
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-05-30 19:15:07 +02:00
Jan Steemann
7b521a4c9e
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/VocBase/document-collection.cpp
arangod/VocBase/document-collection.h
2014-05-30 12:51:20 +02:00
Frank Celler
c8ddff2a9b
fixed shutdown for busy V8 contexts
2014-05-30 11:39:11 +02:00
Jan Steemann
72541e5046
prevent small leak in case of shutdown
2014-05-29 15:06:07 +02:00
Jan Steemann
ed6a55abb9
specialized primary index for faster comparisons and less datafile lookups
2014-05-29 03:35:37 +02:00
Jan Steemann
4cbdbba633
unregister all user tasks on shutdown
2014-05-28 21:36:05 +02:00
Jan Steemann
350e8fc8fe
fast path for named property access
2014-05-28 21:35:42 +02:00
Jan Steemann
bd9e8b0478
fixed too eager iteration over skiplists
2014-05-28 15:19:57 +02:00
Esteban Lombeyda
a4a4d770b6
more documentation
2014-05-28 10:29:10 +02:00
Jan Steemann
86cecdb6a6
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangosh/Benchmark/BenchmarkThread.h
2014-05-26 17:28:16 +02:00
Frank Celler
d097755324
cleanup of statistics, new css, merge css, view and template, added long/short history, exclude all statistics collections, added clusterId
...
Conflicts:
js/apps/system/aardvark/frontend/scss/_newDashboard.scss
js/apps/system/aardvark/frontend/scss/_resizing.scss
js/apps/system/aardvark/frontend/scss/generated.css
js/apps/system/aardvark/statistics.js
2014-05-25 23:10:10 +02:00
Jan Steemann
558048d267
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
2014-05-23 09:34:33 +02:00
Jan Steemann
ea97d443b0
use wal shape and attribute markers
2014-05-22 16:00:00 +02:00
Esteban Lombeyda
bcd8490c1b
Supporting new signature for remove function
2014-05-22 14:35:17 +02:00
Jan Steemann
ac7e73f6e7
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
2014-05-22 13:11:39 +02:00
Jan Steemann
c5103e28b3
fixed edges
2014-05-22 11:27:17 +02:00
Esteban Lombeyda
15cb6e3f0d
documentation was adapted to new signatures
2014-05-22 11:09:47 +02:00
Jan Steemann
dc742f255a
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
2014-05-22 10:52:37 +02:00
Jan Steemann
01a4c43b81
Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
2014-05-22 10:52:23 +02:00
Jan Steemann
cf099a629b
dump markers
2014-05-22 10:52:12 +02:00
Esteban Lombeyda
f8c330ce54
Supporting new signature for replace function
2014-05-22 10:31:01 +02:00
Max Neunhoeffer
2820afdcc2
Remove many extern "C" declarations that are no longer needed.
2014-05-22 10:19:03 +02:00
Jan Steemann
5373f1cea0
Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/VocBase/edge-collection.h
2014-05-21 18:06:44 +02:00
Jan Steemann
0caa570274
update()
2014-05-21 18:05:08 +02:00
Max Neunhoeffer
e7560357d2
Further cleanup with #include "Basics/Common.h"
2014-05-21 16:59:54 +02:00
Max Neunhoeffer
69353334eb
Get rid of TRI_ENABLE_CLUSTER everywhere.
2014-05-21 14:46:47 +02:00
Max Neunhoeffer
0af211c1e5
More header cleanups.
2014-05-21 13:42:41 +02:00
Esteban Lombeyda
0b6846e963
Supporting new signature for JS update function
2014-05-21 11:52:06 +02:00
Jan Steemann
3b8d282c7b
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
2014-05-19 11:55:27 +02:00
Jan Steemann
cdb4eaff99
fixed conversion warning
2014-05-19 11:31:40 +02:00
Jan Steemann
168fdcf6ef
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
UnitTests/Basics/bson-test.cpp
arangod/V8Server/v8-actions.cpp
lib/Basics/BsonHelper.h
2014-05-19 11:21:58 +02:00
Jan Steemann
1328aed652
small refactoring
2014-05-17 12:17:58 +02:00
Jan Steemann
e9c4a759f7
add string length to object creation
2014-05-17 01:37:36 +02:00
Jan Steemann
579a46220e
added one-shot tasks
2014-05-14 21:04:37 +02:00
Jan Steemann
b0f119e88c
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-05-13 13:39:52 +02:00
Jan Steemann
9f7923ace3
fixed VS warnings
2014-05-13 13:39:42 +02:00
Jan Steemann
1e99992a4e
added note about non-functional `options` attribute
2014-05-13 12:58:24 +02:00
Jan Steemann
300da03c5c
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
2014-05-12 17:25:01 +02:00
Jan Steemann
14813638dd
removed boost
2014-05-12 17:22:42 +02:00
Jan Steemann
027ec2d3f4
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/V8Server/V8PeriodicTask.cpp
arangod/V8Server/V8PeriodicTask.h
arangod/V8Server/v8-actions.cpp
js/common/bootstrap/module-internal.js
js/server/server.js
lib/Dispatcher/ApplicationDispatcher.cpp
lib/Dispatcher/RequeueTask.cpp
lib/GeneralServer/GeneralListenTask.h
lib/Scheduler/ApplicationScheduler.cpp
lib/Scheduler/PeriodicTask.cpp
lib/Scheduler/Scheduler.cpp
lib/Scheduler/Scheduler.h
lib/Scheduler/Task.cpp
lib/Scheduler/Task.h
lib/Scheduler/TimerTask.cpp
lib/Scheduler/TimerTask.h
2014-05-12 16:49:20 +02:00
Jan Steemann
9a45d9379a
issue #854 : Cleanup collection figures
2014-05-12 09:43:41 +02:00
Jan Steemann
d23fe23254
added tasks manual entry
2014-05-10 02:25:59 +02:00
Jan Steemann
cfc2d407d7
added tests for task management
2014-05-10 00:43:14 +02:00
Jan Steemann
3becebf488
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2014-05-09 17:36:42 +02:00
Jan Steemann
82595ee169
improved periodic task management
2014-05-09 17:36:24 +02:00
Max Neunhoeffer
809625a1ad
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
2014-05-09 16:35:26 +02:00
Max Neunhoeffer
19289b6d37
First working version of arangorestore for clusters.
2014-05-09 16:33:54 +02:00
Jan Steemann
dfec7b7f3c
pass v8 handles by value, not by reference (as recommended in their manual)
2014-05-09 15:23:21 +02:00
Jan Steemann
80aea14a00
fixed memory error
2014-05-09 15:05:32 +02:00
Jan Steemann
8fa45ca181
added string task ids for periodic jobs
2014-05-08 22:59:36 +02:00
Jan Steemann
78185a60d7
fixed return code for async job cancellation
2014-05-08 18:27:46 +02:00
Jan Steemann
d2732aa929
don't leak barriers
2014-05-08 16:14:33 +02:00
Jan Steemann
5d3d854495
issue #848 : db.someEdgeCollection.inEdge does not return correct value when called the 2nd time after a .save to the edge collection
2014-05-08 13:38:06 +02:00
Max Neunhoeffer
df68f47338
Use StringBuffer in SimpleHttpResult rather than stringstream.
2014-05-07 16:35:40 +02:00
Jan Steemann
0a5e641f97
added index memory usage statistics
...
this also adds index memory usage to the output of the `figures` method
2014-05-02 22:05:29 +02:00
Jan Steemann
02a532a122
added CURRENT_USER function for AQL
2014-05-02 12:00:39 +02:00
Jan Steemann
18302b3ab4
do not segfault on cancellation
2014-04-25 12:45:31 +02:00
Jan Steemann
ce04ec4ae3
fixed crash due to querying of context property outside of isolate
2014-04-22 16:01:55 +02:00
Jan Steemann
ae153598a3
issue #810 : documented immutability of returned objects
2014-04-22 14:26:05 +02:00
Frank Celler
6cdfa029c9
added more error information, fixed try catch
...
Conflicts:
CHANGELOG
arangod/V8Server/ApplicationV8.cpp
2014-04-21 13:35:06 +02:00
Frank Celler
8e9ad58f3b
added cancelation of asnyc jobs
...
Conflicts:
arangod/V8Server/ApplicationV8.cpp
arangod/V8Server/v8-actions.cpp
lib/Rest/Handler.h
2014-04-16 20:16:22 +02:00