Jan Steemann
46565e4daf
fix parallel insertion
2015-08-17 12:43:05 +02:00
Jan Steemann
171119ed01
hold write lock on databases less often
2015-08-17 12:43:04 +02:00
Aurelijus Banelis
9c7c1ad88b
Documentation: include createEdgeCollection in example
...
As it is useful for newcomer to know, how to create "vertex" and "relation".
It is first example, so all inforamtion should be included to try example.
2015-08-16 18:57:12 +03:00
Aurelijus Banelis
cd9df3460e
Documentation: Example of user data in _createDatabase
2015-08-15 22:22:27 +03:00
Jan Steemann
95a346edd2
fix leak
2015-08-14 18:17:22 +02:00
Jan Steemann
12d2a754fa
remove unused header
2015-08-14 18:17:05 +02:00
Jan Steemann
18ba2d5659
fail if a task with non-parsable code is registered
2015-08-14 11:56:54 +02:00
Jan Steemann
7a7e14556f
fix v8 assertion
2015-08-14 11:39:01 +02:00
Jan Steemann
006bf3d2c1
Revert "fix assertion"
...
This reverts commit 9e1ffac077452187acd4d652b4480495f4a2b608.
2015-08-14 11:37:39 +02:00
Jan Steemann
0aa3bb6104
fix assertion
2015-08-14 11:37:00 +02:00
Jan Steemann
e754f0c3f0
cppcheck
2015-08-14 01:23:17 +02:00
Jan Steemann
57e9b55739
use TRI_CHAR_NODE_PAIR()
2015-08-14 00:54:59 +02:00
Jan Steemann
e1bdca6997
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-08-13 15:48:57 +02:00
Willi Goesgens
662b3e76c7
Unify the usage of docublocks for the foxx-queues
2015-08-13 15:44:38 +02:00
Jan Steemann
fe6d67daf4
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-08-13 15:40:35 +02:00
Willi Goesgens
209cbc9768
Move documentation into the source.
2015-08-13 15:37:43 +02:00
Jan Steemann
5b82096145
honor indexBuckets attribute in restore operation of collection
2015-08-13 15:37:32 +02:00
Jan Steemann
dc1910e331
added AQL optimizer rule `patch-update-statements`
2015-08-13 13:02:47 +02:00
Jan Steemann
7c05077668
indentation
2015-08-12 23:40:25 +02:00
Jan Steemann
e62974240b
allow termination of current shell command
2015-08-12 21:39:16 +02:00
Jan Steemann
7b5ac63591
cppcheck
2015-08-12 21:37:28 +02:00
Jan Steemann
f6f10dbd45
removed uncalled functions
2015-08-12 19:46:25 +02:00
Frank Celler
4a9d775061
cleanup
2015-08-12 17:54:15 +02:00
Frank Celler
9de6bd39db
moved to strings, fixed #1432 : arangosh doesn't ignore prefixed ....> on paste
2015-08-12 17:54:14 +02:00
Willi Goesgens
bbb8198d2b
Add a @brief to all descriptions, remove stray markup.
2015-08-12 16:58:06 +02:00
Willi Goesgens
ff8e9e7e0d
Merge branch 'devel' of github.com:arangodb/ArangoDB into devel
2015-08-12 11:12:38 +02:00
Willi Goesgens
bfab367e3d
Examplify docu.
2015-08-12 11:12:15 +02:00
Willi Goesgens
e66b5907f6
Add examples to database basics
2015-08-12 11:11:30 +02:00
Jan Steemann
9fedf740ec
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-08-12 10:56:51 +02:00
Jan Steemann
85b1fe8419
pacify VS
2015-08-12 10:56:39 +02:00
Max Neunhoeffer
b844ff3468
Finish the role "SECONDARY" in a cluster. Configure replication automatically.
2015-08-12 10:54:30 +02:00
Willi Goesgens
096ad46f05
revert ad5a2c49f1c8479fb4896a28b178d34fcfe3abe8 - arangodump isn't a plain json.
2015-08-11 14:49:06 +02:00
Jan Steemann
8b28251f58
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-08-11 14:16:54 +02:00
Willi Goesgens
b6613208d0
switch to logging json formatted response for better user experience.
2015-08-11 14:15:15 +02:00
Jan Steemann
580c15639f
Merge branch 'devel' of https://github.com/arangodb/arangodb into collection-not-loaded
...
Conflicts:
CHANGELOG
2015-08-11 12:34:31 +02:00
Jan Steemann
434d6167db
added configuration option `--database.throw-collection-not-loaded-error`
2015-08-11 12:31:42 +02:00
Frank Celler
3029891405
added better readline support for control-C
2015-08-11 12:05:55 +02:00
Jan Steemann
e642ce972f
throw error if collection not yet loaded
2015-08-10 17:08:41 +02:00
Jan Steemann
29b03e854d
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-08-10 16:44:45 +02:00
Jan Steemann
82940cda10
use std::vector
2015-08-10 16:43:59 +02:00
Max Neunhoeffer
a851b5a69d
Rename ThreadProtector to DataProtector.
2015-08-10 09:54:29 +02:00
Jan Steemann
b659d9fa07
use unique_ptr
2015-08-07 16:48:35 +02:00
Jan Steemann
5d82f0b385
some cleanup
2015-08-07 15:16:33 +02:00
Jan Steemann
1a634cb426
use std::vector
2015-08-07 13:35:16 +02:00
Jan Steemann
da38382202
remove CONST_CAST helper
2015-08-07 13:18:21 +02:00
Max Neunhoeffer
8c94df88bf
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2015-08-07 13:17:28 +02:00
Max Neunhoeffer
63b4aa641a
Delete a TRI_vector_t usage.
2015-08-07 13:16:49 +02:00
Jan Steemann
9c28ea7976
remove compiler warning
2015-08-07 13:00:38 +02:00
Max Neunhoeffer
aa341f790f
Fix bugs with database lists on coordinator.
2015-08-07 12:38:47 +02:00
Jan Steemann
9778bc16fd
fix Visual Studio compile errors
2015-08-07 11:07:56 +02:00
Max Neunhoeffer
5472655ca7
Untemplatify ThreadProtector for those with gcc < 4.9.2.
...
We will revert this later once everybody has gcc >= 4.9.2.
2015-08-07 10:20:31 +02:00
Jan Steemann
30839600e6
use unique_ptr
2015-08-06 22:13:33 +02:00
Jan Steemann
330fac6225
some unused function cleanup
2015-08-06 21:25:32 +02:00
Jan Steemann
568084f590
removed forward for non-existing type
2015-08-06 19:33:32 +02:00
Jan Steemann
0b3391e594
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-08-06 19:11:39 +02:00
Max Neunhoeffer
746ab57f98
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2015-08-06 15:58:12 +02:00
Max Neunhoeffer
3eb9799ac0
Use ThreadProtector for lists of databases.
2015-08-06 15:57:47 +02:00
Jan Steemann
2d91797685
remove useless reserve
2015-08-06 13:16:56 +02:00
Jan Steemann
87241aa732
log logfiles location on startup
2015-08-06 12:47:24 +02:00
Jan Steemann
b0add93e37
fixed potential value overruns
2015-08-06 11:47:01 +02:00
Jan Steemann
9c39b775b3
fixed invalid iterator
2015-08-06 11:07:00 +02:00
Jan Steemann
744ff9e251
no explicit make_pair
2015-08-05 22:58:31 +02:00
Jan Steemann
22e734a940
use unique_ptr
2015-08-05 21:03:52 +02:00
Jan Steemann
2a88c76e0e
fix parallel insertion
2015-08-05 15:16:07 +02:00
Jan Steemann
658eed7654
hold write lock on databases less often
2015-08-05 14:18:23 +02:00
Willi Goesgens
021d01e4fe
Rework index documentation; add more executed examples.
2015-08-04 18:42:44 +02:00
Jan Steemann
e9f2c1eba8
references
2015-08-04 16:26:48 +02:00
Jan Steemann
1af98f40fb
added reserve()
2015-08-04 16:23:21 +02:00
Jan Steemann
b591706484
fixed locking
2015-08-04 15:42:39 +02:00
Jan Steemann
a84e6f7236
fixed compile error
2015-08-04 14:34:00 +02:00
Jan Steemann
a2d75cd9c8
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-08-04 14:32:42 +02:00
Jan Steemann
342e44c374
removed tabs
2015-08-04 14:32:37 +02:00
Max Neunhoeffer
5b4eeb4dae
Silence a visual studio warning.
2015-08-04 14:29:59 +02:00
Jan Steemann
c163d602ff
updated documentation for `indexBuckets`
2015-08-04 14:13:01 +02:00
Jan Steemann
f89af3f6f4
adjusted tests for indexBuckets
2015-08-04 14:02:04 +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
922c16dce1
fixed invocation of `LIKE`
2015-08-04 12:23:40 +02:00
Jan Steemann
857f0b8b35
next attempt to make it compile on MacOS
2015-08-04 11:38:38 +02:00
Jan Steemann
7a3d49be88
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-08-04 10:30:28 +02:00
Jan Steemann
5dab23a3b7
CXX implementation of AQL `LIKE`
2015-08-04 10:30:18 +02:00
Max Neunhoeffer
96d7b339b7
Use LOG_DEBUG instead of LOG_ERROR for Agency problems.
2015-08-04 09:42:06 +02:00
Max Neunhoeffer
4f2afbf7e3
Better debugging messages if agency communication goes wrong in ClusterInfo.
2015-08-04 09:32:57 +02:00
Jan Steemann
0f1ce26e41
added function to create an ICU RegexMatcher
2015-08-03 23:57:26 +02:00
Jan Steemann
38227a81f8
speed up initial edge index creation
2015-08-03 18:27:50 +02:00
Max Neunhoeffer
e05d808ff8
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2015-08-03 15:23:38 +02:00
Max Neunhoeffer
0bdeed7f24
Fix bug in ClusterInfo.
2015-08-03 15:17:09 +02:00
Max Neunhoeffer
d0cfab6248
Try to sort out ClusterInfo protection for good.
2015-08-03 15:07:59 +02:00
Max Neunhoeffer
e8b4e510d8
Some reordering and better comments.
2015-08-03 10:17:34 +02:00
Max Neunhoeffer
67a983af73
Yet more unordered_maps.
2015-08-03 09:42:04 +02:00
Max Neunhoeffer
387e3e5701
More unordered_maps.
2015-08-03 09:18:33 +02:00
Jan Steemann
7ad99087ee
use unique_ptr
2015-08-03 09:18:20 +02:00
Max Neunhoeffer
41ab436378
Change some maps to unordered_maps.
2015-08-03 08:58:46 +02:00
Jan Steemann
738237ce39
fixed method comment
2015-07-31 17:32:55 +02:00
Jan Steemann
9afd8974b7
split big lock
2015-07-31 16:56:26 +02:00
Jan Steemann
ec3ccd31ba
split lock
2015-07-31 16:44:42 +02:00
Jan Steemann
efe643aee9
unique_ptr'ed
2015-07-31 15:55:56 +02:00
Jan Steemann
dfd31975f6
potential fix
2015-07-31 14:57:32 +02:00
Jan Steemann
8fbf3894cd
renamed
2015-07-31 14:56:52 +02:00
Jan Steemann
b347f3021c
nullptr
2015-07-30 22:33:43 +02:00
Jan Steemann
f7ed62b04c
hold locks for shorter periods in ConnectionManager
2015-07-30 20:03:23 +02:00
Jan Steemann
a8041f20dc
added debugging method
2015-07-30 14:00:19 +02:00
Jan Steemann
1e140aee93
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-07-30 12:20:34 +02:00
Jan Steemann
24b44e474f
a bit less copying
2015-07-30 12:20:22 +02:00
Jan Steemann
65d312d2b9
fix compiler warning
2015-07-30 11:16:32 +02:00
Jan Steemann
14fe919b5b
constify
2015-07-30 00:07:50 +02:00
Jan Steemann
2d8777bc6c
make the optimizer create less plans
2015-07-30 00:07:32 +02:00
Jan Steemann
b331c22d37
use std::vector
2015-07-29 16:07:05 +02:00
Jan Steemann
6d4395059b
use lock guards
2015-07-29 15:15:49 +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
Jan Steemann
326f0dba6e
removed some unused code
2015-07-29 13:50:18 +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
4912ce3200
fix cluster startup
2015-07-29 12:55:06 +02:00
Michael Hackstein
85dbb1c88b
The ExampleMatcher now returns a fitting error in case the example JSON is corrupted
2015-07-29 09:39:24 +02:00
Jan Steemann
454a6c998c
Merge branch 'devel' of https://github.com/arangodb/arangodb into shaper-cxx
2015-07-28 17:38:48 +02:00
Jan Steemann
6d7ccd7699
move shaper to cxx
2015-07-28 17:38:31 +02:00
Michael Hackstein
412394ff3c
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2015-07-28 13:22:01 +02:00
Michael Hackstein
25f7b25206
Fixed failing failure-tests
2015-07-28 13:21:54 +02:00
Jan Steemann
bef83a7fbb
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-07-28 11:45:11 +02:00
Jan Steemann
cdfdec9244
save some overhead when walking plans
2015-07-28 11:44:34 +02:00
Jan Steemann
137a88bda3
fixed logic errors
2015-07-28 11:10:48 +02:00
Jan Steemann
3d3024a54e
cppcheck
2015-07-28 09:51:24 +02:00
Jan Steemann
9791e467d4
fixed results for query profiling
2015-07-27 18:33:58 +02:00
Jan Steemann
34eed0662f
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-07-27 18:04:31 +02:00
Jan Steemann
fe809932af
cleanup of enterContext/exitContext
2015-07-27 18:04:20 +02:00
Jan Steemann
1d71a8d8fd
simplification
2015-07-27 16:57:31 +02:00
Jan Steemann
2ae83d03c5
split _logfilesLock into two separate locks
2015-07-27 16:24:57 +02:00
Jan Steemann
7e4b615248
simplify call to mmap
2015-07-27 16:24:25 +02:00
Jan Steemann
d53c526aaa
split legend cache into multiple buckets, to mitigate locking issues
2015-07-27 16:03:55 +02:00
Jan Steemann
dc7e9b0635
simplification
2015-07-27 16:03:35 +02:00
Jan Steemann
6070250e9a
only invalidate query cache if turned on
2015-07-27 16:03:16 +02:00
Jan Steemann
a677c425a6
lock condition less frequently
2015-07-27 13:31:09 +02:00
Jan Steemann
8685a6a250
documentation for `RETURN DISTINCT`
2015-07-27 11:27:59 +02:00
Jan Steemann
65811aa3ab
fixed leak
2015-07-24 16:48:45 +02:00
Jan Steemann
dbb740a705
activate distinct test
2015-07-24 13:41:01 +02:00
Jan Steemann
239cc1504e
cleanup
2015-07-24 13:33:09 +02:00
Jan Steemann
38b2d6caea
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-07-24 13:21:49 +02:00
Jan Steemann
ead280afe5
added DISTINCT
2015-07-24 13:19:55 +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
9cc0554346
Merge branch 'fasterNeighbors' into devel
2015-07-24 10:25:00 +02:00
Frank Celler
647ce78293
removed unused variable
2015-07-23 22:44:52 +02:00
Michael Hackstein
1ed4143f09
Fixed a wrong error code in NEIGHBORS
2015-07-23 16:23:35 +02:00
Michael Hackstein
67463232bf
Fixed Error messages in CPP Only Neighbors function
2015-07-23 16:22:12 +02:00
Michael Hackstein
89ca3f68b9
Fixed edgeExamples in CPPOnly Neighbors function
2015-07-23 16:08:32 +02:00
Frank Celler
4dccc6a8dc
Merge branch 'devel' of github.com:arangodb/arangodb into dispatcher
2015-07-23 15:41:05 +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
Jan Steemann
e5dbf725b2
added shorthand notation for attribute names in AQL object literals
2015-07-23 14:24:37 +02:00
Michael Hackstein
1ae50e026c
Merge branch 'devel' of github.com:arangodb/arangodb into fasterNeighbors
2015-07-23 11:23:49 +02:00
Michael Hackstein
a2dab04ff2
Implemented direction in CPPOnly neighbors and added some error outputs
2015-07-23 11:23:35 +02:00
Jan Steemann
c6d5f7d775
use move
2015-07-23 10:30:49 +02:00
Jan Steemann
8ba04250d9
fix compiler warnings
2015-07-23 10:27:09 +02:00
Michael Hackstein
379e189b5b
Quick fix for string out of scope.
2015-07-22 18:24:52 +02:00
Michael Hackstein
cdf98f564f
The CPP only Neighbors now allows for _key in addition to _id
2015-07-22 17:46:38 +02:00
Michael Hackstein
f6703ccd9b
Merge branch 'devel' of github.com:arangodb/arangodb into fasterNeighbors
2015-07-22 17:22:12 +02:00
Michael Hackstein
22ad95b987
Implemented a Neighbors CPP only function. This is not piped through V8 function calls any more. Right now it is NOT fully featured and only Experimental.
2015-07-22 17:21:59 +02:00
Michael Hackstein
f92c3b21ce
Removed the duplicate distinct / result listing in Neighbors
2015-07-22 17:11:38 +02:00
Jan Steemann
c1c119958a
fix cluster startup
2015-07-22 16:36:05 +02:00
Jan Steemann
aad327714c
handle AstNodes of type collection
2015-07-22 11:59:45 +02:00
Jan Steemann
5a9f9ecbab
added execution conditions for CXX AQL functions
2015-07-22 11:35:57 +02:00
Jan Steemann
dd03c03216
honor --server.disable-statistics for statistics aggregator thread
2015-07-21 19:20:37 +02:00
Jan Steemann
38cdc662ec
removed configure options `--enable-timing` and `--enable-figures`
2015-07-21 18:47:43 +02:00
Jan Steemann
20c96b5e46
removed locks
2015-07-21 17:34:57 +02:00
Jan Steemann
ecf9402b71
removed SpinLock around CurrentTick
2015-07-21 15:36:50 +02:00
Jan Steemann
ee4c5a2116
fixed invalid collection id
2015-07-21 14:08:11 +02:00
Jan Steemann
123a76089f
removed JobType, special jobs and monopolizer
2015-07-21 14:07:53 +02:00
Jan Steemann
09736f965f
more lock instrumentation
2015-07-21 13:09:02 +02:00
Jan Steemann
e8205e5dc0
use new and delete for TRI_server_t
2015-07-21 11:57:04 +02:00
Jan Steemann
d33e95d452
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-07-20 18:42:14 +02:00
Jan Steemann
4d0872f2b9
more cxx
2015-07-20 18:42:02 +02:00
Frank Celler
9b95e08765
cleanup of member names
2015-07-20 17:40:13 +02:00
Willi Goesgens
b5ff2f8f4f
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2015-07-20 14:11:49 +02:00
Willi Goesgens
faed66ccef
* fix windows language from russian to English
...
* fix creating of distinct resource files for our set of commandline tools.
2015-07-20 14:10:49 +02:00
Jan Steemann
124fe7a34c
use new/delete for TRI_vocbase_t
2015-07-20 12:08:13 +02:00
Jan Steemann
118fd54fd0
split tests
2015-07-20 10:58:43 +02:00
Willi Goesgens
f2ddf10a46
Windows doesn't like strings in versions...
2015-07-17 18:51:22 +02:00
Jan Steemann
48756e93ff
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-07-17 17:49:06 +02:00
Jan Steemann
a5db59cc47
remove some locks in HttpServer and friends
2015-07-17 17:48:45 +02:00
Willi Goesgens
018cfce58c
Fix cmake variable referencing.
2015-07-17 17:07:42 +02:00
Willi Goesgens
edabac8927
Add Version information & icons to the windows binaries.
2015-07-17 16:36:40 +02:00
Jan Steemann
c54b5a6ba8
renamed file
2015-07-16 21:06:29 +02:00
Jan Steemann
6d6d47cea9
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-07-16 16:43:04 +02:00
Jan Steemann
9d048fd1e0
separate measure for CheckCollection
2015-07-16 12:59:59 +02:00
Jan Steemann
4bc188422a
cppcheck
2015-07-15 22:13:42 +02:00
Jan Steemann
2a7ed52768
fixed invalid access to outdated iterator
2015-07-15 11:06:47 +02:00
Jan Steemann
f77dbc005c
some fixes for graph functions
2015-07-15 09:35:37 +02:00
Jan Steemann
ad30baa08c
retry qcache with cluster
2015-07-14 14:53:16 +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
3f6bdab81f
try to fix cluster crash
2015-07-14 11:39:49 +02:00
Jan Steemann
6c9922ff6e
disable qcache in cluster
2015-07-14 11:11:19 +02:00
Frank Celler
d64ce2ddce
changed to uint64_t for program options
2015-07-13 14:23:33 +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
Frank Celler
27f9af2808
added more info about expect and received value
2015-07-09 16:17:40 +02:00
Willi Goesgens
8002e9df18
This windows specific file needs iostream too.
2015-07-08 10:25:36 +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
Frank Celler
b6995ba412
fixed packaging of JS files
2015-07-04 21:54:59 +02:00
Willi Goesgens
f442455fdd
Fix memleak - Replace creates a copy.
2015-07-02 10:55:42 +02:00
Willi Goesgens
f9db288e0f
Free already deleted coordinator databases properly.
2015-07-01 17:33:24 +02:00
Willi Goesgens
1dea6b29a5
Fix memleaks in coordinator.
2015-06-30 14:36:37 +02:00
Jan Steemann
e25ecb5be8
added function cacheability info
2015-06-27 09:06:35 +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
7410cefdbd
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-query-cache
2015-06-25 23:42:54 +02:00
Jan Steemann
6ed990b59c
fixed warning
2015-06-25 23:41:39 +02:00
Jan Steemann
8372c33993
fixed invalidation with index creation etc., adjusted tests
2015-06-25 23:40:31 +02:00
Jan Steemann
66eec2ac7e
fix invalidation
2015-06-25 16:46:04 +02:00
Jan Steemann
e86ed5c685
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-query-cache
2015-06-25 10:02:05 +02:00
Willi Goesgens
df031a9f2a
Find the right place where the json wasn't free'd
2015-06-25 09:45:05 +02:00
Jan Steemann
29c1904e21
issue #1383 : bindVars for HTTP API doesn't work with empty string
2015-06-25 09:23:40 +02:00
Jan Steemann
a769b658c8
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-query-cache
2015-06-25 02:28:21 +02:00
Jan Steemann
91621685fb
cache invalidation
2015-06-24 23:02:19 +02:00
Willi Goesgens
29366dff96
Fix memleaks.
2015-06-24 17:42:26 +02:00
Willi Goesgens
351681c2de
Add missing swagger files to cmake build. fixes #1368
2015-06-24 09:50:42 +02:00
Jan Steemann
1b2f5d8cb2
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-query-cache
2015-06-23 22:52:26 +02:00
Jan Steemann
5916677a0b
fixed leak
2015-06-23 22:45:57 +02:00
Jan Steemann
259b74b60e
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-star-operator-cxx
2015-06-23 22:34:29 +02:00
Jan Steemann
a42c3b1004
do not return false result
2015-06-23 19:54:27 +02:00
Jan Steemann
a7a7fd51b0
use query cache for cursor API as well
2015-06-23 19:42:00 +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
Jan Steemann
5480e6f4bd
removed AQL `SKIPLIST` function deprecated in 2.6
2015-06-21 16:21:49 +02:00
Jan Steemann
7313b19431
implemented FILTER, LIMIT and multi-star features
2015-06-20 14:21:58 +02:00
Jan Steemann
64089eea75
partial implementation
2015-06-20 11:21:57 +02:00
Jan Steemann
ce31550a9f
fix variable naming in COLLECT INTO results in case the COLLECT is placed in a subquery which itself is followed by other constructs that require variables
2015-06-19 13:00:49 +02:00
Jan Steemann
18ba738027
use std::unique_ptr in some cases
2015-06-18 21:45:33 +02:00
Jan Steemann
67082b15fd
moved AQL TO_* functions to CXX
2015-06-18 21:30:13 +02:00
Jan Steemann
1fe842dab1
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-06-18 19:30:50 +02:00
Jan Steemann
aff1f6a6a0
fixed leaks
2015-06-18 19:30:29 +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
9f5741e481
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-06-18 17:27:49 +02:00
Jan Steemann
86f1a02e18
Merge branch 'aql-argv-optimization' of https://github.com/arangodb/arangodb into devel
2015-06-18 17:12:47 +02:00
Jan Steemann
5e7dd0da7f
Merge branch 'aql-argv-optimization' of https://github.com/arangodb/arangodb into devel
2015-06-18 17:12:14 +02:00
Jan Steemann
160955462c
fixed attribute deletion
2015-06-18 17:09:40 +02:00
Jan Steemann
a00288dc02
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-06-18 15:35:28 +02:00
Jan Steemann
83b326cfc7
moved PUT /_api/simple/all to C++
2015-06-18 15:34:45 +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
Jan Steemann
5a5407f516
constified methods
2015-06-17 23:22:45 +02:00
Jan Steemann
300d85ccf7
added generated files
2015-06-17 15:40:04 +02:00
Jan Steemann
fb53587d9e
added generated files
2015-06-17 15:39:08 +02:00
Jan Steemann
a76695345d
constify
2015-06-17 12:41:24 +02:00
Jan Steemann
dd314561ed
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-parser-simplification
2015-06-16 19:34:22 +02:00
Jan Steemann
dec79dd051
pass function arguments by reference
2015-06-16 18:01:45 +02:00
Alan Plum
1210ee8858
Removed Foxx queue exports warmup workaround.
2015-06-16 15:59:26 +02:00
Jan Steemann
7cd27d5c56
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-parser-simplification
2015-06-16 15:14:18 +02:00
Jan Steemann
d6f3436cc9
added tests
2015-06-16 15:13:53 +02:00
Michael Hackstein
df75ae48f9
Merge branch 'devel' of github.com:/arangodb/arangodb into devel
2015-06-16 10:46:37 +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
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