Jan Steemann
529055c4ca
use typedefs
2015-06-16 09:50:17 +02:00
Jan Steemann
3e99e76b4f
fixed range access
2015-06-13 02:27:17 +02:00
Jan Steemann
c5d099a1c5
fixed array range accesses
2015-06-12 23:45:08 +02:00
Jan Steemann
1174cfd05c
added tests
2015-06-12 18:29:54 +02:00
Jan Steemann
78fd4a767e
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-parser-simplification
2015-06-12 17:30:21 +02:00
Jan Steemann
cc2c99be23
added code comment
2015-06-12 17:29:55 +02:00
Jan Steemann
ba49ab41c8
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-parser-simplification
2015-06-12 17:25:02 +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
05edd3bfc0
removed empty lines
2015-06-12 15:45:49 +02:00
Max Neunhoeffer
2700abf2c8
Increase a timeout slightly.
2015-06-12 15:42:04 +02:00
Jan Steemann
3d5ec4d906
speedup for V8-based AQL functions with huge literal array/object parameters
2015-06-12 15:40:08 +02:00
Jan Steemann
e7ff3f2a19
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-parser-simplification
2015-06-12 12:04:41 +02:00
Jan Steemann
1a18fb0282
factor out huge array/object literals when calling V8-based AQL functions
2015-06-12 11:50:22 +02:00
Jan Steemann
6cff955262
bounds checks for selectivity estimates
2015-06-11 21:38:13 +02:00
Jan Steemann
4421a8499f
allow (expr)[expr], (query)[expr], {literal}.attr and [literal][expr]
2015-06-11 20:34:03 +02:00
Jan Steemann
a7dfbe8801
fixed warning
2015-06-11 18:23:19 +02:00
Max Neunhoeffer
9527ec9e19
Delete old files.
2015-06-11 15:38:02 +02:00
Jan Steemann
3985498fc3
added [x..y] array access, added [**] operator
2015-06-11 00:09:41 +02:00
Jan Steemann
d99d164c0a
simplified parser
2015-06-10 20:25:25 +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
a7a1ca2e00
More fixing of the queues.
2015-06-10 14:17:33 +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
66c59a3be2
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-06-09 17:23:43 +02:00
Michael Hackstein
0c524ae537
Merge branch 'devel' of github.com:/arangodb/arangodb into devel
2015-06-09 11:57:35 +02:00
Jan Steemann
e9c7112d74
small header fixes
2015-06-08 19:03:00 +02:00
Jan Steemann
6f56e9ef43
indentation
2015-06-08 16:23:49 +02:00
Jan Steemann
a6b2998b5d
added try...catch blocks for V8-to-CPP bindings
2015-06-08 16:04:42 +02:00
Michael Hackstein
dc7a910521
Added an accitional 'includeVertices' option to EDGES AQL function. This can now return the forat that has been returned by Neighbors before.
2015-06-08 15:22:27 +02:00
Jan Steemann
7b366ca130
use auto
2015-06-05 12:46:41 +02:00
Jan Steemann
d2fef98c02
renamed internal function
2015-06-03 18:24:24 +02:00
Willi Goesgens
11f640e874
try to create the database directories if they don't exist; some installers fail to transport empty directories.
2015-06-03 11:38:53 +02:00
Jan Steemann
b76cb5caee
use nullptr
2015-06-02 23:39:41 +02:00
Jan Steemann
3bb5eb1a9d
small optimizations
2015-06-02 23:20:00 +02:00
Jan Steemann
4c7994597a
cppcheck
2015-06-02 22:49:22 +02:00
Jan Steemann
fda6aec8d5
push_back => emplace_back
2015-06-02 22:48:55 +02:00
Jan Steemann
8b8918f72c
added (still disabled) rule fuse-calculations
2015-06-02 21:32:38 +02:00
Jan Steemann
13d1096d97
fix test
2015-06-02 15:29:56 +02:00
Jan Steemann
a2d99b55ec
cxxified more functions
2015-06-02 15:15:45 +02:00
Jan Steemann
99207731df
micro optimizations
2015-06-02 14:12:48 +02:00
Jan Steemann
49fb7effb3
issue #1353 : Windows: HTTP API - incorrect path in errorMessage
...
Do not return path part, collection name and key part in error response
2015-06-02 10:26:37 +02:00
Jan Steemann
16746ae026
small optimizations for expression
2015-06-02 09:18:13 +02:00
Jan Steemann
e6684f9d2f
small optimizations for expressions
2015-06-02 09:17:50 +02:00
Jan Steemann
a51c258bf5
fixed memleaks
2015-06-01 14:56:14 +02:00
Jan Steemann
39cf9c527c
micro optimizations
2015-06-01 14:56:01 +02:00
Jan Steemann
a7448815bf
fix Visual Studio complaints
2015-06-01 09:42:51 +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
8126781ca7
fixed crash
2015-05-29 11:52:07 +02:00
Jan Steemann
6d5b86867d
added print methods
2015-05-29 11:45:01 +02:00
Jan Steemann
4cd37f8d55
fix MacOS compile errors
2015-05-29 10:01:19 +02:00
Jan Steemann
88198767dd
logging
2015-05-29 09:49:22 +02:00
Michael Hackstein
78a6b7e90e
Removed Debug output
2015-05-28 17:31:25 -07: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
Frank Celler
88bc61559c
Merge branch 'affinity' of github.com:arangodb/arangodb into devel
2015-05-28 15:50:41 +02:00
Frank Celler
dd0ef2cae2
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2015-05-28 15:50:31 +02:00
Max Neunhoeffer
33dec8806b
added 3=scheduler, 4=dispatcher
2015-05-28 13:48:02 +00:00
Frank Celler
c2db22e379
linux processor affinity
2015-05-28 14:51:32 +02:00
Jan Steemann
f011a5571e
no unused private members
2015-05-28 14:29:09 +02:00
Jan Steemann
64ae7adb93
issue #1341 : Can't use bindvars in UPSERT
2015-05-28 14:28:23 +02:00
Frank Celler
f5f8afea22
added empty affinity implementation
2015-05-28 13:51:34 +02:00
Jan Steemann
ad59242822
fixed ambiguous attribute name "version" for collections
2015-05-28 11:54:57 +02:00
Jan Steemann
153dd0d505
removed unused private field
2015-05-28 10:27:46 +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
Jan Steemann
093430de3a
added CXX implementation for ATTRIBUTES()
2015-05-26 21:45:48 +02:00
Jan Steemann
d0b8af7c0b
handle calculated object elements in explain
2015-05-26 21:20:43 +02: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
c899046c74
added TRI_DF_MARKER_BLANK
2015-05-26 18:00:39 +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
2a9e809009
fix cluster
2015-05-26 14:49:13 +02:00
Jan Steemann
3036ae1fd6
removed unused files
2015-05-26 14:04:36 +02:00
Jan Steemann
eff263d8cc
fixed cap constraints
2015-05-26 13:45:53 +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
7bc6615725
Fix CXX version of NEIGHBORS.
2015-05-23 21:00:59 -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
bc76cf5079
use std::vector
2015-05-22 12:58:40 +02:00
Jan Steemann
f531cdac6c
fixed crash when creating edge collection in cluster
2015-05-22 11:06:16 +02:00
Jan Steemann
98e3b293e1
fixed memleak
2015-05-22 11:03:02 +02:00
Jan Steemann
3033846791
catch exception when filling indexes
2015-05-22 09:29:56 +02:00
Jan Steemann
4522d8ab33
fixed wrong index usage, added tests
2015-05-21 18:29:43 +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
ef154cd1d9
fix compile warning
2015-05-21 17:00:29 +02: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
3c0660cfe3
documented `--server.session-timeout`
2015-05-20 17:16:35 +02:00
Jan Steemann
d4285fc6fd
fix Visual Studio compile warnings
2015-05-20 16:12:30 +02:00
Jan Steemann
479ed9ec10
disable MVCC-specific warning about debug information too long
2015-05-20 16:12:02 +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
343c9b4bea
added static helper methods for cluster state
2015-05-20 13:51:02 +02:00
Jan Steemann
b9326a251e
fix path
2015-05-20 09:41:26 +02:00
Michael Hackstein
a734c94af6
Added forgotten files to CMake
2015-05-19 17:17:17 -07:00
Michael Hackstein
86c7f87dd3
Merge branch 'cppTrav2' into devel
2015-05-19 16:17:27 -07:00
Jan Steemann
e2b2fab797
added startup options `--server.foxx-queues-poll-interval`, `--server.foxx-queues-system-only`
2015-05-20 00:29:49 +02: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
3acbbbc880
call reserve() before storing documents
2015-05-19 14:28:25 +02:00
Michael Hackstein
2cb4cb27d5
The ExampleMatcher can now use v8 object and TRI_Json_t* alike.
2015-05-18 16:12:33 -07:00
Jan Steemann
f557a0066d
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-05-18 23:40:43 +02:00
Jan Steemann
c88b731acf
save some mallocs for strings in AQL
2015-05-18 23:40:28 +02:00
Max Neunhoeffer
7d8ccc0f51
Silence the compiler.
2015-05-18 21:34:47 +00: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
8670f2a36d
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-05-18 10:33:53 +02:00
Jan Steemann
30a9f44e64
please the VisualStudio compiler
2015-05-18 10:33:37 +02:00
Jan Steemann
f8977f3f4f
split _accessor into buckets, too
2015-05-18 10:31:46 +02:00
Max Neunhoeffer
13204298d9
Make number of buckets in edge index configurable.
2015-05-17 19:04:47 -07:00
Max Neunhoeffer
eef79e68eb
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2015-05-15 17:19:46 -07:00
Max Neunhoeffer
ca17b07dca
C++-ify associative-multi and add hashCache, adapt edge index.
2015-05-15 16:37:56 -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
Jan Steemann
77291a1e71
split single shaper lock into multiple
2015-05-15 19:05:06 +02: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
Jan Steemann
b6142f475c
micro optimizations
2015-05-15 17:40:41 +02: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
Jan Steemann
f8a4df2ad4
Merge branch 'edge-index-resize' of https://github.com/arangodb/arangodb into devel
...
Conflicts:
lib/Basics/associative-multi.cpp
2015-05-13 12:52:38 +02:00
Willi Goesgens
421d9fbb9e
Add performance logging for index building.
2015-05-13 10:49:38 +02:00
Jan Steemann
ceecbf372f
slight API change
2015-05-13 09:06:35 +02:00
Max Neunhoeffer
ab0391dd03
Give TRI_doc_mptr_copy_t a move constructor and move assignment operator.
...
This is in the hope of allowing the compiler to speed up some things.
2015-05-12 18:59:52 -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
Jan Steemann
8480c8b000
speed up resizing of edge index
2015-05-12 21:03:30 +02:00
Jan Steemann
541257c537
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-05-12 14:53:15 +02:00
Jan Steemann
f6bc0a05e3
added `limit` parameter for export API
2015-05-12 14:16:27 +02:00
Jan Steemann
9c73028541
less copying
2015-05-12 13:36:08 +02:00
Jan Steemann
95dbff7f20
added reserve() method
2015-05-12 13:26:23 +02:00
Jan Steemann
5cd7b64ce8
fixed potential race during arangob runs
2015-05-11 22:57:30 +02:00
Willi Goesgens
eea77e23a2
Free collection in case of creating the return object fails.
2015-05-11 15:28:03 +02:00
Jan Steemann
8c3e72d33c
added waitForSync option
2015-05-11 13:09:37 +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
95b8a0c76d
use AttributeAccessor for more cases
2015-05-08 15:56:07 +02:00
Jan Steemann
06cf34700f
simplify attribute accesses
2015-05-08 15:14:17 +02:00
Jan Steemann
7e47d75042
fixed wrong condition
2015-05-08 12:44:53 +02:00
Jan Steemann
beb45ad8f8
use indexes when referring to an attribute name via bind parameter
2015-05-08 12:39:55 +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
Jan Steemann
c58abe5336
fixed use-after-free
2015-05-07 17:53:16 +02:00
Frank Celler
154b94c105
added internal support for SID
2015-05-07 15:54:57 +02:00
Jan Steemann
947f8d249a
allow indexing arrays of objects
2015-05-07 15:32:04 +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
Willi Goesgens
66c6fe6e2c
When shutting down the Agency, don't delete connections which are just busy.
2015-05-06 18:05:55 +02:00
Jan Steemann
163c2fbc8b
coarse locking for truncate()
2015-05-06 17:09:43 +02:00
Jan Steemann
2763196081
formatting
2015-05-06 15:35:15 +02:00
Jan Steemann
5615881cac
nullptr
2015-05-06 15:35:04 +02:00
Jan Steemann
4ea2a53771
support arrays in fulltext index, too
2015-05-06 15:11:24 +02:00
Jan Steemann
42a3321e1c
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-05-06 14:21:44 +02:00
Jan Steemann
0996d603c6
fulltext improvements
2015-05-06 14:21:32 +02:00
Willi Goesgens
a606350e1a
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2015-05-06 11:29:15 +02:00
Willi Goesgens
a91252e53a
remove useless assertion.
2015-05-06 11:28:09 +02:00
Jan Steemann
e93225d7f5
fix cluster document fetching
2015-05-06 11:00:41 +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
46cdf686c4
documentation update
2015-05-05 18:23:07 +02:00
Jan Steemann
4cc1e854c1
fixed segfaults when running cluster AQL queries in console thread
2015-05-05 17:58:10 +02:00
Jan Steemann
c677ea8b88
added tests for collection.lookupByKeys() and collection.removeByKeys()
2015-05-05 17:57:33 +02:00
Jan Steemann
63138def67
fix location response headers with special characters
2015-05-05 14:00:06 +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
Jan Steemann
4a8146ed02
fixed some potential leaks
2015-05-05 00:33:12 +02:00
Jan Steemann
f09d8903a9
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
Conflicts:
Documentation/Scripts/generateExamples.py
2015-05-04 17:47:31 +02:00
Jan Steemann
244cc2d66d
added some batch processing methods
2015-05-04 17:46:47 +02:00
Willi Goesgens
312972a4ec
Modify examples so they clean up after their run.
2015-05-04 17:22:25 +02:00
Jan Steemann
ca07b07630
change naming
2015-05-04 16:55:07 +02:00
Jan Steemann
508a3c4b42
more cleanup
2015-05-04 15:46:27 +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
Max Neunhoeffer
cb9fa2a342
Merge branch 'cppTrav' of ssh://github.com/arangodb/arangodb into cppTrav
2015-04-30 23:10:24 -07:00
Jan Steemann
28e062ca91
for equality-only comparisons evaluate dynamic expressions just once and not twice
2015-05-01 01:40:07 +02:00
Jan Steemann
3f9dbb4220
fixed if condition
2015-05-01 01:16:45 +02:00
Jan Steemann
33fe3f98e8
disallow copying
2015-05-01 01:16:26 +02:00
Jan Steemann
f7ade5e7fe
nullptr
2015-04-30 23:48:52 +02:00
Jan Steemann
0099fe260a
return value optimization for AQL
2015-04-30 23:38:27 +02:00
Jan Steemann
8f2a3ce7e9
fixed failing test
2015-04-30 21:28:41 +02:00
Jan Steemann
b0924956f8
allow `@` character in document keys, too.
2015-04-30 21:28:26 +02:00
Jan Steemann
0f521ebc37
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
Conflicts:
arangod/Aql/Functions.cpp
2015-04-30 16:57:05 +02:00
Jan Steemann
cb0ff510d6
slightly less copying
2015-04-30 16:50:08 +02:00
Jan Steemann
54e12bb972
small improvements
2015-04-30 13:02:44 +02:00
Jan Steemann
8dbcf0e23f
Visual Studio adjustments
2015-04-30 11:46:55 +02:00
Max Neunhoeffer
65c4c5629d
Highly experimental aggregation experiment. Do not use.
2015-04-30 00:44:39 -07:00
Max Neunhoeffer
db7491af29
Merge branch 'devel' of ssh://github.com/arangodb/arangodb into devel
2015-04-29 22:12:21 -07:00
Max Neunhoeffer
1bea0bede9
Finish new ReadWriteLockCPP11 for collections.
2015-04-29 21:03:05 -07:00
Max Neunhoeffer
686f67024e
Add a second DispatcherQueue for AQL in the cluster.
2015-04-29 21:02:06 -07:00
Jan Steemann
4be4c3c228
fix broken build
2015-04-29 17:54:09 +02:00
Jan Steemann
8178d7bb0d
fixed build
2015-04-29 17:47:12 +02:00
Jan Steemann
7783ed1b33
speedups
2015-04-29 17:42:33 +02:00
Jan Steemann
6fe78cddb1
speed up big IN-lists in AQL
2015-04-29 16:22:45 +02:00
Jan Steemann
beb2506bec
add subquery tests
2015-04-29 11:32:14 +02:00
Max Neunhoeffer
9832a490f7
Merge branch 'devel' of ssh://github.com/arangodb/arangodb into devel
2015-04-29 00:22:47 -07:00
Max Neunhoeffer
123eacb129
Fix a cluster deadlock bug.
...
Mark the executing thread as blocked, when a RemoteBlock talks to
another server. This means that a new thread can be started if needed.
2015-04-29 00:21:25 -07:00
Jan Steemann
574d521472
added alternative slice() method for AqlItemBlock
...
this method will copy only the first row from a source block into
a one-row target block. certain registers can be excluded. used to
initialize the registers for a subquery
2015-04-28 22:47:07 +02:00
Jan Steemann
cf0b5d35c4
fix wrong comment
2015-04-28 20:37:27 +02:00
Willi Goesgens
fd6fc37429
Use the proper fee function for json structures - fixes memleak.
2015-04-28 13:25:31 +02:00
Jan Steemann
bb3316bf5b
issue #1322 : strange AQL result
...
This fixes a problem with unique skiplist indexes declared on multiple attributes
that were queried with an equality condition on only a prefix (e.g. a single
attribute only)
2015-04-28 09:41:03 +02:00
Jan Steemann
4d581b4e78
less copying of ranges
2015-04-28 09:38:54 +02:00
Jan Steemann
128b29c8d2
cxxified more functions
2015-04-28 09:29:09 +02:00
Michael Hackstein
ed7666e81e
Improved code readablity and implemented a distance attribute based weighting function
2015-04-27 23:58:07 -07:00
Jan Steemann
ed24ee798a
always perform proper block cleanup
2015-04-27 23:28:42 +02:00
Jan Steemann
717df15a9c
cxxified more AQL functions
2015-04-27 22:12:11 +02:00
Jan Steemann
5be9a0bfb6
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-04-27 17:39:10 +02:00
Jan Steemann
d7e7a0ffbb
less copying of RangeInfoBounds
2015-04-27 17:38:52 +02: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
7da9c4daff
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-04-27 12:43:51 +02:00
Jan Steemann
bf3a1daaa9
recycle AqlItemBlocks
2015-04-27 12:41:55 +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
Max Neunhoeffer
1dd7802450
Fix error reporting at import.
2015-04-26 12:53:02 -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
d9fe9c8bf7
Check in grammar files.
2015-04-25 21:46:23 -07:00
Max Neunhoeffer
da2fb87e0f
Some const cleanup.
2015-04-25 21:42:17 -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
Max Neunhoeffer
2882a61303
Fix access to _to and _from via TRI_doc_mptr_t.
2015-04-25 21:34:41 -07:00
Max Neunhoeffer
ec28bc27b9
Add access to _from and _to for edges from TRI_doc_mptr_t.
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
015c197e2a
Proper class wrapping of Traverser. Started implemented dual-sided search algorithm. Implemented shered memmory access. Next up threads
2015-04-25 21:34:40 -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
745d80d999
fixed compile warning with g++4.9.2
2015-04-24 12:48:50 +02:00
Jan Steemann
3b09a018d5
fixed VS compile issues
2015-04-24 10:35:10 +02:00
Jan Steemann
292e203b6b
slightly faster JSON hashing
2015-04-23 18:03:38 +02:00
Jan Steemann
9fce723de8
specialized attribute accessor functions for internal attributes
2015-04-23 17:30:10 +02:00
Jan Steemann
bf2864dd04
mini optimization
2015-04-23 15:52:08 +02:00
Jan Steemann
4a1a6a41ab
added specialized method setShaped()
2015-04-23 15:34:42 +02:00
Jan Steemann
ad5350a9c0
better encapsulation of AqlItemBlock's values
2015-04-23 13:45:49 +02:00
Jan Steemann
40ed49ebfa
fast path for MERGE()
2015-04-23 13:45:31 +02:00
Jan Steemann
8c71c801ca
increment _id in call to nextName()
2015-04-22 14:17:45 +02:00
Jan Steemann
1283d43608
simplification for comments parsing
2015-04-22 14:17:18 +02:00
Jan Steemann
6e14c99835
fixed error message
2015-04-22 14:16:52 +02:00
Jan Steemann
224b33cc75
moved UNSET() and KEEP() to cxx implementation
2015-04-22 13:21:05 +02:00
Jan Steemann
c73b7dd68a
save hash table lookups for ShapedJson AqlValues
2015-04-22 10:48:16 +02:00
Jan Steemann
baa5e39348
removed lib/Basics/utf8-helper.cpp and merged with lib/Basics/Utf8Helper.cpp
2015-04-21 17:53:35 +02:00
Jan Steemann
974b656c1b
allow overriding COLLECT method
2015-04-21 14:45:22 +02:00
Jan Steemann
629883041c
added asserts
2015-04-21 12:08:09 +02:00
Jan Steemann
f985c8eef9
removed duplicate examples
2015-04-20 16:17:19 +02:00
Jan Steemann
c3b4e32571
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-04-20 16:10:38 +02:00
Jan Steemann
b46db8ed20
use value by reference
2015-04-20 16:10:31 +02:00
Jan Steemann
529f220c3b
mini optimizations for AqlItemBlock
2015-04-20 15:31:06 +02:00
Jan Steemann
3bb3e15d8e
fixed getAttributeAccess()
2015-04-20 14:30:06 +02:00
Jan Steemann
05d5fae614
fixed wrong forward declaration
2015-04-20 13:49:03 +02:00
Jan Steemann
d20c104d0c
specialized attribute accessor for AQL
2015-04-20 13:26:04 +02:00
Jan Steemann
61499432b7
do not remove constant sorts when creating plans, but during optimization phase
...
less utf8 comparisons
2015-04-20 11:32:29 +02:00
Willi Goesgens
98ed57170a
Fix warning about implicit double to size cast.
2015-04-17 10:43:46 +02:00
Jan Steemann
6e23c5330f
added restrictions for export API
2015-04-17 00:24:43 +02:00
Jan Steemann
d9add3a493
fixed collect in cluster
2015-04-16 21:10:48 +02:00
Jan Steemann
528ec17bcd
Merge branch 'devel' of https://github.com/arangodb/arangodb into hash-collect
...
Conflicts:
arangod/FulltextIndex/fulltext-handles.cpp
2015-04-16 19:06:21 +02:00
Jan Steemann
2e5fac692f
mini simplification
2015-04-16 17:54:04 +02:00
Jan Steemann
73899168be
some adjustments to satisfy scan-build
2015-04-16 16:30:20 +02:00
Jan Steemann
9f2643acaa
show type of collect method in explain
2015-04-16 16:29:36 +02:00
Jan Steemann
e2000f571f
try to satisfy scan-build
2015-04-16 15:04:11 +02:00
Jan Steemann
ad132ed202
delete expired cursors in coordinator, too
2015-04-16 13:51:03 +02:00
Jan Steemann
e1312f2088
attempt to satisfy scan-build a bit
2015-04-16 11:47:18 +02:00
Jan Steemann
d3569d5c77
adjusted failure code names
2015-04-16 00:28:41 +02:00
Jan Steemann
ff6e56d89c
adjusted some tests
2015-04-15 23:45:07 +02:00
Jan Steemann
8926e3f2e2
initial commit
2015-04-15 19:04:21 +02:00
Jan Steemann
6624c00215
explicitly set clientTaskId
2015-04-15 17:30:14 +02:00
Jan Steemann
322b3f9c6d
issue #1231 : bug xor feature in AQL: LENGTH(null) == 4
...
This changes the behavior of the AQL `LENGTH` function as follows:
- if the single argument to `LENGTH()` is `null`, then the result will now be `0`. In previous
versions of ArangoDB, the result of `LENGTH(null)` was `4`.
- if the single argument to `LENGTH()` is `true`, then the result will now be `1`. In previous
versions of ArangoDB, the result of `LENGTH(true)` was `4`.
- if the single argument to `LENGTH()` is `false`, then the result will now be `0`. In previous
versions of ArangoDB, the result of `LENGTH(false)` was `5`.
The results of `LENGTH()` with string, numeric, array object argument values do not change.
2015-04-14 19:03:29 +02:00
Jan Steemann
8a1677c1dc
safely increment nrRegs
2015-04-14 13:27:48 +02:00
Jan Steemann
92fcdd3e56
issue #1298 : Bulk import if data already exists
...
This change extends the HTTP REST API for bulk imports as follows:
When documents are imported and the `_key` attribute is specified for them, the import can be
used for inserting and updating/replacing documents. Previously, the import could be used for
inserting new documents only, and re-inserting a document with an existing would have failed
with a *unique key constraint violated* error.
The above behavior is still the default. However, the API now allows controlling the behavior
in case of a unique key constraint error via the optional URL parameter `onDuplicate`.
This parameter can have one of the following values:
- `error`: when a unique key constraint error occurs, do not import or update the document but
report an error. This is the default.
- `update`: when a unique key constraint error occurs, try to (partially) update the existing
document with the data specified in the import. This may still fail if the document would
violate secondary unique indexes. Only the attributes present in the import data will be
updated and other attributes already present will be preserved. The number of updated documents
will be reported in the `updated` attribute of the HTTP API result.
- `replace`: when a unique key constraint error occurs, try to fully replace the existing
document with the data specified in the import. This may still fail if the document would
violate secondary unique indexes. The number of replaced documents will be reported in the
`updated` attribute of the HTTP API result.
- `ignore`: when a unique key constraint error occurs, ignore this error. There will be no
insert, update or replace for the particular document. Ignored documents will be reported
separately in the `ignored` attribute of the HTTP API result.
The result of the HTTP import API will now contain the attributes `ignored` and `updated`, which
contain the number of ignored and updated documents respectively. These attributes will contain a
value of zero unless the `onDuplicate` URL parameter is set to either `update` or `replace`
(in this case the `updated` attribute may contain non-zero values) or `ignore` (in this case the
`ignored` attribute may contain a non-zero value).
2015-04-14 11:44:33 +02:00
Jan Steemann
2299d2916d
initial commit to satisfy #1298
2015-04-13 18:26:33 +02:00
Jan Steemann
7c393dec44
fixed assertion error on shutdown
2015-04-13 16:24:19 +02:00
Jan Steemann
d8597d9662
fixed edge index lookups in cluster
2015-04-13 14:36:16 +02:00
Max Neunhoeffer
bd0724add6
Fix retry behaviour in some places of cluster code.
2015-04-13 13:03:40 +02:00
Max Neunhoeffer
4b4e1b2466
Fix number of tries in getCollection.
2015-04-13 12:07:53 +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
931c26fea3
read .arangod.rc on server start if it exists
2015-04-03 16:00:57 +02:00
Jan Steemann
0e93087d50
slightly faster V8 => JSON conversion in AQL
2015-04-03 16:00:38 +02:00
Jan Steemann
013209b9c7
add expressionType to JSON output of CalculationNode
2015-04-03 15:02:17 +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
de877150eb
less branching in comparison functions
2015-04-03 13:49:33 +02:00
Jan Steemann
92c8dc9429
fixed documentation
...
Conflicts:
Documentation/Scripts/generateSwaggerApi.py
2015-04-03 13:22:44 +02:00
Jan Steemann
0f1244f72d
better export API cleanup
2015-03-31 18:44:51 +02:00
Jan Steemann
ca6801d473
Merge branch 'devel' of https://github.com/arangodb/arangodb into cursor-refactoring
2015-03-31 15:13:41 +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
9706a3d6ac
fixed Windows compile errors
2015-03-31 15:12:38 +02:00
Jan Steemann
3f913f96d7
less copying of RangeInfoBounds
2015-03-31 14:53:14 +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
c508eb0a81
removed some debugging features
2015-03-30 22:05:31 +02:00
Jan Steemann
925f4fbab6
cleanup of some static const variables
2015-03-30 21:43:55 +02:00
Jan Steemann
e672d791b5
refactored cursor API, added export API
2015-03-30 18:03:42 +02:00
Jan Steemann
80a99ab23e
refactored cursor API
2015-03-30 14:58:51 +02:00
Jan Steemann
3ddf23d093
hand-moved changes from other branch
2015-03-30 12:30:45 +02:00
Jan Steemann
3ac535bb69
fixed startup
2015-03-27 18:33:05 +01:00
Jan Steemann
3057cf7a74
added edge index iterator
...
Conflicts:
arangod/Aql/ExecutionBlock.h
2015-03-27 17:24:47 +01:00
Jan Steemann
50b531666c
optimization for AQL CONCAT()
...
Conflicts:
arangod/Aql/AqlValue.cpp
arangod/Aql/AqlValue.h
arangod/Aql/Ast.cpp
2015-03-27 17:18:27 +01:00
Jan Steemann
9c3419fda3
fixed extern type
2015-03-27 17:09:17 +01:00
Jan Steemann
6957de23d2
fixed name qualification
2015-03-27 17:06:58 +01:00
Jan Steemann
960b464c57
issue #1054 : add info whether server is running in service or user mode?
2015-03-27 16:49:47 +01:00
Jan Steemann
5599259075
fixed Visual Studio compile errors
2015-03-26 10:34:38 +01: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
Jan Steemann
9703f04621
fixed wrong return value
2015-03-25 13:03:49 +01:00
Jan Steemann
2f58e4ea61
small cleanup
2015-03-25 12:42:44 +01:00
Jan Steemann
59053df10a
issue #1285 : allow bind parameter names starting with underscores
2015-03-24 18:43:53 +01:00
Jan Steemann
b98f8f7e29
fix initialization
2015-03-24 18:42:24 +01:00
Jan Steemann
0ceff3f1b0
added cluster tests
2015-03-24 18:28:55 +01:00
Jan Steemann
01745402f3
Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
2015-03-24 14:34:20 +01:00
Jan Steemann
a3c0612798
added cluster tests
2015-03-24 14:34:09 +01:00
Willi Goesgens
44101c621d
Fix macos warning: declaring & calling in one line seems to be undeclared.
2015-03-24 11:33:19 +01:00
Jan Steemann
66e2273482
added documentation for UPSERT
2015-03-24 00:44:52 +01:00
Jan Steemann
cbee2c6466
Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
2015-03-23 22:28:58 +01:00
Jan Steemann
7d5cc17d98
added tests
2015-03-23 22:28:26 +01:00
Willi Goesgens
486d86e0cb
add new file from a1af44bf4900600f54d4b8dc233429df488633db to CMake too.
2015-03-23 17:47:34 +01:00
Jan Steemann
ac44597788
removed unused files
2015-03-23 15:46:31 +01:00
Jan Steemann
c62c26e088
Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
2015-03-23 15:31:41 +01:00
Jan Steemann
e3bf1c709c
upsert blocks
2015-03-23 15:31:07 +01:00
Frank Celler
4c5d57f1b8
merged Exceptions.h and Exception.h
2015-03-23 14:05:19 +01:00
Frank Celler
3c52dcde6d
changed _api/query to C++
...
Conflicts:
CHANGELOG
Makefile.in
README
arangod/RestServer/ArangoServer.cpp
2015-03-23 10:51:14 +01:00
Jan Steemann
3b6dfc868e
Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
2015-03-20 23:23:13 +01:00
Jan Steemann
facc9bceea
trap killing of AQL queries inside subqueries
2015-03-20 23:07:39 +01:00
Jan Steemann
d63f47e840
added possibility to kill JS traversals
2015-03-20 23:05:41 +01:00
Jan Steemann
186c25f3bb
Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
2015-03-20 22:03:18 +01:00
Jan Steemann
cc8ec1750c
fixed function name in error message
2015-03-20 21:55:50 +01:00
Jan Steemann
8e48f98045
Merge branch 'devel' of https://github.com/arangodb/arangodb into data-modification
...
Conflicts:
arangod/Aql/Collection.cpp
arangod/Aql/ExecutionBlock.cpp
2015-03-20 21:54:39 +01:00
Willi Goesgens
07b3720e6d
Fix windows error buffer handling
2015-03-20 13:21:59 +01:00
Jan Steemann
a1c348e7c6
added more tests for out-of-memory situations
2015-03-20 11:52:55 +01:00
Jan Steemann
1298bd40a8
added tests for out-of-memory situations
2015-03-20 08:54:15 +01:00
Jan Steemann
a9cddb824f
more usage of unique_ptrs
2015-03-20 00:05:32 +01:00
Jan Steemann
50c4682655
added more tests
2015-03-19 18:21:00 +01:00
Jan Steemann
dfa702ba47
add trace output
2015-03-19 16:20:36 +01:00
Jan Steemann
7dc3fc3d5c
safely create collections and databases
2015-03-19 15:56:12 +01:00
Jan Steemann
74816d107b
added assertion, fixed wrong catch handler
...
Conflicts:
arangod/Aql/ExecutionBlock.cpp
2015-03-19 13:08:25 +01:00
Willi Goesgens
4c359f98f0
OS-specific error messages for systemcalls also for windows users.
2015-03-19 12:58:13 +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
Willi Goesgens
023d880b5f
When uninstalling windows services we need to compare the whole command string.
2015-03-18 19:12:58 +01:00
Frank Celler
8697e2758d
initialize path after drop privileges
...
Conflicts:
arangod/RestServer/ArangoServer.cpp
2015-03-18 17:47:28 +01:00
Jan Steemann
d1d4daefb8
updated documentation
2015-03-18 17:46:48 +01:00
Jan Steemann
ac37515a7a
updated documentation
2015-03-18 17:46:26 +01:00
Jan Steemann
6360c798e7
added option `--database.ignore-logfile-errors`
...
Conflicts:
arangod/RestServer/ArangoServer.cpp
2015-03-18 17:46:11 +01:00
Jan Steemann
9f65e16143
set logfile status under a lock
2015-03-18 17:45:33 +01:00
Jan Steemann
9295755202
track the number of (ignored) errors during recovery
2015-03-18 17:45:21 +01:00
Jan Steemann
3565595928
do not read over the end of a marker on CRC check
2015-03-18 17:45:06 +01:00
Jan Steemann
755d728e5a
hide warning if not appropriate
2015-03-18 17:44:50 +01:00
Jan Steemann
b5fb457d7b
ensure there is a datafile info entry for each datafile of a collection
2015-03-18 17:44:38 +01:00
Jan Steemann
5c8cfecc9e
added method to force-change a logfile status
2015-03-18 17:44:23 +01:00
Jan Steemann
bdae982aa0
refuse to start the server when collection files or parameter.json files are not readable
...
Conflicts:
js/apps/system/aardvark/frontend/js/bootstrap/errors.js
2015-03-18 17:44:06 +01:00
Jan Steemann
659ef9e6af
made _uncollectedLogfileEntries an atomic variable
2015-03-18 17:39:36 +01:00
Jan Steemann
daac3dd00c
add group privileges for files created
...
Conflicts:
lib/Basics/json.cpp
2015-03-18 17:39:22 +01:00
Jan Steemann
bf0a542f96
added shaper locks
2015-03-18 10:28:28 +01:00
Max Neunhoeffer
3bd55fa26f
Set correct root block for newly instanciated ExecutionEngine.
2015-03-17 15:30:30 -07:00
Jan Steemann
cc72257363
abort recovery if one of a collection's datafiles cannot be opened
2015-03-17 18:28:26 +01:00
Frank Celler
ad5d26a03c
added text to differentiate error messages
2015-03-17 18:23:52 +01:00
Willi Goesgens
92389a33b2
Finalize our own service control infrastructure.
2015-03-17 15:00:08 +01:00
Jan Steemann
13ddb8b34b
fixed some cluster plans
2015-03-17 13:52:09 +01:00
Willi Goesgens
67494ea108
Add the contents of the ICU_DATA environment to the fatal error message.
2015-03-17 13:20:55 +01:00
Willi Goesgens
243ae93e92
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2015-03-17 13:12:36 +01:00
Willi Goesgens
bdcaf810fe
Add more start checkpoints, initial windows service control things
2015-03-17 13:11:51 +01:00
Jan Steemann
6b24da1036
in the middle of refactoring
2015-03-17 09:08:25 +01:00
Jan Steemann
34e101725f
fixed assertion
2015-03-16 17:28:54 +01:00
Willi Goesgens
1474249a08
Startup / Shutdown: add hooks to properly emit this state to the windows service control manager
2015-03-16 14:22:28 +01:00
Willi Goesgens
a33dfcb591
Move windows service functionality into its own .cpp file to have a better overview.
2015-03-16 13:17:35 +01:00
Jan Steemann
d91cc3e9b3
added more tests
2015-03-14 20:49:22 +01:00
Jan Steemann
30e44ef553
override
2015-03-13 18:27:29 +01:00
Jan Steemann
ce0a543d25
added flag for disabling query tracking `--database.disable-query-tracking`
...
Conflicts:
arangod/RestServer/ArangoServer.cpp
Conflicts:
Documentation/Books/Users/ConfigureArango/Arangod.mdpp
arangod/RestServer/ArangoServer.cpp
2015-03-13 13:51:23 +01:00
Jan Steemann
7ed7dd4bdf
fixed VS compile errors
2015-03-12 17:05:39 +01:00
Jan Steemann
22dcbef6cb
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-03-12 16:53:26 +01:00
Jan Steemann
70ce59abb6
log when killing a query
2015-03-12 15:10:33 +01:00
Jan Steemann
dfb70d7d96
added cancellation points
...
Conflicts:
arangod/Aql/ExecutionBlock.cpp
2015-03-12 15:00:23 +01:00
Jan Steemann
f035ea1c3b
kill AQL queries
...
Conflicts:
arangod/Aql/ExecutionBlock.cpp
2015-03-12 15:00:14 +01:00
Jan Steemann
75c4451469
enable query tracking by default
2015-03-12 13:02:13 +01:00
Jan Steemann
b98c4c2d5b
added documentation, fixed potential UTF-8 truncation
2015-03-12 13:02:13 +01:00
Jan Steemann
64d77cbe24
added query tracking feature
2015-03-12 13:02:13 +01:00
Jan Steemann
a6473338b3
optimization for extractKey
2015-03-11 15:26:08 +01:00
Jan Steemann
c4f17bb244
issue #1265 : arangod crashed with SIGSEGV
2015-03-11 12:19:34 +01:00
Jan Steemann
d41cff907e
accept buffers
2015-03-09 19:05:04 +01:00
Jan Steemann
c8338b9416
added ArangoClusterInfo.getServerName
2015-03-09 16:56:00 +01:00
Jan Steemann
1457e67ae9
fixed (sometimes) wrong assertion
2015-03-09 09:41:41 +01:00
Frank Celler
0687e4e080
removed registry entry, using relative path to binary instead
2015-03-08 20:06:18 +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
a9006f0087
initialize
2015-03-05 10:38:49 +01:00
Jan Steemann
9ff4e7922d
thread-safety
2015-03-04 18:10:21 +01:00
Jan Steemann
4958086d63
thread safety
2015-03-04 18:02:06 +01:00
Jan Steemann
974398e4e3
also install *.tmpl files
2015-03-04 17:21:50 +01:00
Willi Goesgens
bff0ee6e38
static const std::string not as const as thought - at least in windows.
2015-03-04 16:39:54 +01:00
Jan Steemann
7f121fc352
use barrier
2015-03-04 11:35:32 +01:00
Jan Steemann
dc60e9d1a6
less malloc and less copying for skiplist index elements
2015-03-03 11:47:10 +01:00
Jan Steemann
3c0e921ccd
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
Conflicts:
CHANGELOG
2015-03-03 10:53:44 +01:00
Jan Steemann
bc4ad22ab6
parallel secondary index building when loading collections
2015-03-03 10:52:51 +01:00
Jan Steemann
a561a96d2b
removed remainders of mruby integration
2015-03-02 19:39:42 +01:00
Jan Steemann
68c57ce061
fix Visual Studio undefinedness
2015-02-26 18:07:25 +01:00
Jan Steemann
8493801ea1
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-02-26 16:39:50 +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
Willi Goesgens
8a407c6576
Give the Agency more time to reply before we retry.
2015-02-26 15:24:47 +01:00
Michael Hackstein
c5adf7b089
Fixed tests for foxx on multiple databases. And added generated files
2015-02-25 10:44:15 +01:00
Jan Steemann
c8089f9747
reduce initial sparse size
2015-02-25 09:08:05 +01:00
Jan Steemann
24e191f964
memory usage reporting
2015-02-24 19:03:33 +01:00
Willi Goesgens
146ef8c787
Another place to ignore pre-existing files.
2015-02-24 18:36:05 +01:00
Willi Goesgens
d74299770b
work around race condition occuring during cluster startup on same machine.
2015-02-24 18:00:52 +01:00
Jan Steemann
0ba8e6e626
fixed Windows compile errors
2015-02-24 15:32:04 +01:00
Willi Goesgens
597ce40879
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2015-02-24 13:12:00 +01:00
Willi Goesgens
7b3a165d8e
Windows: more desparetely try to get the bad news to the user on a crash.
2015-02-24 13:11:23 +01:00
Jan Steemann
dc893e4a31
Merge branch 'fp-madhouse' of https://github.com/arangodb/arangodb into devel
2015-02-24 11:38:22 +01:00
Willi Goesgens
eb3f383f93
On windows log backtrace rather then printing it; it doesn't seem to end up where we expect it.
2015-02-24 10:35:33 +01:00
Jan Steemann
654d282088
added fpconv_dtoa from https://github.com/night-shift/fpconv/
2015-02-23 22:27:02 +01:00
Willi Goesgens
dcac88c35a
Fix error message on tempfile creation
2015-02-23 15:28:46 +01:00