Michael Hackstein
9ea8e3ea0c
Started to write merge of two slices. This is not yet working for null means delete, works for all other merges.
2016-02-01 09:49:19 +01:00
jsteemann
54c796b6e8
fixed issues identified by `-fsanitize=undefined`
2016-01-31 23:30:41 +01:00
jsteemann
b635983d9c
removed unused functions and headers
2016-01-31 19:08:39 +01:00
jsteemann
ae25d2b53b
removed `using namespace std`
2016-01-31 18:22:00 +01:00
jsteemann
4e94803ad7
honor results of clang-test, clang-tidy and clang-modernize
2016-01-31 15:56:18 +01:00
jsteemann
2d7323a560
fixed warnings shown by clang-3.7
2016-01-31 02:17:36 +01:00
jsteemann
353c9732b7
removed last LOG_xxx macros
2016-01-30 04:03:18 +01:00
jsteemann
9482ee1cca
use Logger
2016-01-30 00:08:35 +01:00
jsteemann
ff21453255
logger transition: all files in arangod exception transactions.cpp
2016-01-29 23:28:44 +01:00
Jan Steemann
828f46c76b
shut up compiler
2016-01-29 19:19:06 +01:00
Jan Steemann
cd4cbae6ce
ported fixes to devel
2016-01-29 19:05:27 +01:00
Michael Hackstein
e0f0a6f1a8
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-29 14:18:05 +01:00
Michael Hackstein
436c377cb5
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-29 14:01:53 +01:00
Max Neunhoeffer
238937128a
Merge branch 'devel' into ClustUp2
2016-01-29 13:59:11 +01:00
Max Neunhoeffer
dcf4ed8bca
Sort out FollowerInfo.
2016-01-29 13:56:37 +01:00
Jan Steemann
2112d7c1f8
added override and final specifiers
2016-01-29 11:10:46 +01:00
jsteemann
43639aee79
removed hint about "normal mode" as there is only a normal mode nowadays
2016-01-29 00:50:51 +01:00
Michael Hackstein
582f1f46f0
Preparation for multi-direction traversals. As requested in #1683 . Internal traverser can now work with one direction per collection. Next: AQL needs to learn this too.
2016-01-28 14:07:50 +01:00
Jan Steemann
37a083edca
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-01-27 18:53:29 +01:00
Jan Steemann
585208afcf
changed directory name pattern for collections
2016-01-27 18:53:16 +01:00
Michael Hackstein
08101cbe47
Fixed logic bug in creation of unique hash index
2016-01-27 17:27:11 +01:00
Frank Celler
175e1e6b51
moved low level mutex in Mutex class
2016-01-27 15:31:02 +01:00
Max Neunhoeffer
5375ada8a7
Add replicationFactor and replicationQuorum to properties().
2016-01-27 15:21:55 +01:00
Michael Hackstein
7360cba43a
The cursor now returns VPackSlices instead of TRI_json_t
2016-01-27 14:26:36 +01:00
Jan Steemann
9046e1831b
clang-format
2016-01-27 13:43:46 +01:00
Jan Steemann
3d8a52cdf4
some refactoring
2016-01-27 13:28:19 +01:00
Jan Steemann
53d268c843
pacify cppcheck
2016-01-27 09:37:23 +01:00
Max Neunhoeffer
887e571a26
Merge branch 'devel' into ClustUp2
2016-01-26 18:01:42 +01:00
Michael Hackstein
6f4d8ca509
Fixed invalid storage of Collection status in Cluster
2016-01-26 17:19:37 +01:00
Michael Hackstein
b49830c106
Started migrating cursors to VelocyPack
2016-01-26 16:00:29 +01:00
Jan Steemann
3fc862f0ef
changed locking macros
2016-01-26 15:39:12 +01:00
Michael Hackstein
521816670f
Simplyfied a function call and thereby removed TRI_json_t in v8-vocindex
2016-01-26 13:37:50 +01:00
Michael Hackstein
f9ada16a89
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-26 13:27:41 +01:00
Michael Hackstein
969ac75d19
Removed all TRI_json_t references from v8-vocindex and all it's surroundings
2016-01-26 13:27:21 +01:00
Jan Steemann
f5d2839bf0
removed reference to unused variable
2016-01-25 18:17:50 +01:00
Michael Hackstein
0a63cb5d48
Removed TRI_json_t from v8-query.
2016-01-25 16:58:53 +01:00
Michael Hackstein
bc1b69af70
Fixed error where a nullptr was dereferenced without any checks
2016-01-25 16:00:17 +01:00
Michael Hackstein
fb136f2b00
Removed TRI_json_t from V8QueueJob.
2016-01-25 14:57:20 +01:00
Michael Hackstein
5d16679de9
Removed TRI_json_t from baground tasks
2016-01-25 14:45:55 +01:00
Jan Steemann
3dc247e18b
fixed segfault
2016-01-25 14:20:06 +01:00
Michael Hackstein
5b2062b4e4
Removed legacy toJson function from Index.h. All callers now use VelocyPack directly
2016-01-25 11:42:31 +01:00
Michael Hackstein
a6f58ce14d
Use forward declarations for VelocyPack instead of all includes everywhere
2016-01-24 14:29:31 +01:00
Michael Hackstein
b31cc0ba15
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-22 13:36:47 +01:00
Jan Steemann
9beeb09f37
fix out-of-memory situations
2016-01-22 13:24:33 +01:00
Michael Hackstein
7ef829ae63
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-22 13:16:39 +01:00
Jan Steemann
6b19a7b0a7
fixes ported from 2.8
2016-01-21 16:40:31 +01:00
Michael Hackstein
191c2dc3a9
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-21 16:29:38 +01:00
Michael Hackstein
b04f1bf9e2
Replaced IndexOperators using TRI_json_t by Operators using VPack.
2016-01-21 14:07:36 +01:00
Jan Steemann
219da94986
fix some locks
2016-01-21 13:01:31 +01:00
Michael Hackstein
287aadb22c
Fixed a bug when creating a new database with users.
2016-01-21 11:00:17 +01:00
Jan Steemann
58410da019
another fix for Visual Studio
2016-01-21 09:53:11 +01:00
Michael Hackstein
0605338d5e
Fixed a non closed VPackBuilder
2016-01-21 09:36:24 +01:00
jsteemann
842384016d
namespace cleanup
2016-01-21 00:20:22 +01:00
jsteemann
ef67a496e6
more checks & asserts, C API cleanup
2016-01-20 22:08:11 +01:00
Michael Hackstein
3c6ac9f38f
Removed all TRI_json_t inputs to AgencyComm and replaced them by VPack. This commit stil has an error s.t. indexes cannot be dropped in Cluster. WIP.
2016-01-20 12:53:55 +01:00
Michael Hackstein
1fc685e557
Fixed unitialized warning of compiler. Situation could never occur
2016-01-19 15:08:57 +01:00
Frank Celler
ff11db7b78
added threadNumber to identify a thread
2016-01-19 13:57:30 +01:00
Jan Steemann
5daa529404
compaction fix attempt II
2016-01-18 18:24:25 +01:00
jsteemann
431900f17a
changed namespace from triagens to arangodb
2016-01-17 00:44:53 +01:00
Michael Hackstein
8f0de79d18
Make clearFailAt always available again, not only in Maintainer-mode
2016-01-16 18:19:30 +01:00
Michael Hackstein
f254f83dfb
Moved DebugClearFailure to v8-actions, alowing it to be executed in Cluster as well
2016-01-16 15:19:49 +01:00
Michael Hackstein
f3806171f5
Reduced occurences of TRI_json_t in Cluster Code
2016-01-15 15:32:47 +01:00
jsteemann
1b959c827d
more const unification
2016-01-15 00:09:52 +01:00
jsteemann
f66eb007cd
some const unification
2016-01-15 00:03:03 +01:00
Michael Hackstein
d999c7063b
Moved Debug functions to V8Server and made them available via a debug endpoint. This is used to distributed debugSetFailAt in cluster, s.t. DBServers use these functions as well
2016-01-14 17:14:18 +01:00
Michael Hackstein
78d9c6643a
Removed some TRI_json_t in v8-collection
2016-01-14 09:18:11 +01:00
Michael Hackstein
09ffbabf06
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-13 10:51:41 +01:00
Michael Hackstein
b45ac55d58
Clang-format fixes
2016-01-12 15:16:04 +01:00
Michael Hackstein
96d58b8a67
Replaced toJson with toVelocyPack in KeyGenerator.
2016-01-12 15:13:34 +01:00
jsteemann
14216e4ca5
Valgrind garbage collection shutdown fix attempt
2016-01-12 14:27:23 +01:00
Jan Steemann
1ead3252f0
fixed potential segfault
2016-01-12 13:18:34 +01:00
jsteemann
debeaeec07
less garbage collection
2016-01-11 12:43:05 +01:00
Max Neunhoeffer
b0283077db
Merge branch 'devel' into ClustUp2
2016-01-11 11:41:36 +01:00
Max Neunhoeffer
e7eae3a73a
Merge branch 'devel' into ClustUp2
2016-01-11 11:01:45 +01:00
Jan Steemann
687d6133f0
comments reformatting
2016-01-11 09:52:39 +01:00
jsteemann
9f0576c65f
don't rely so much on namespace std being present
2016-01-08 01:05:06 +01:00
jsteemann
50c0e18d53
removed useless con|destructor comments
2016-01-07 21:19:53 +01:00
jsteemann
0bfc9a19ae
BE -> AE
2016-01-07 21:09:33 +01:00
Jan Steemann
8b4b6a1943
moved docu blocks into their own files
2016-01-07 16:03:17 +01:00
Jan Steemann
e8a339e7b2
removed unsupported @code ... @endcode tags
2016-01-07 15:26:56 +01:00
Wilfried Goesgens
7fc4b356e4
Revert formattings that break documentation parts.
2016-01-07 15:12:04 +01:00
Wilfried Goesgens
8a0f635dca
Wrap examples properly - this was broken during the auto format.
2016-01-07 13:08:50 +01:00
Jan Steemann
02de75afe0
added option --default-number-of-shards for arangorestore
2016-01-07 10:54:02 +01:00
Jan Steemann
3ad20c0cae
auto-generated headers
2016-01-06 18:41:51 +01:00
Jan Steemann
a3b026d9d1
removed useless sections from code, unified include guards
2016-01-06 14:15:22 +01:00
Jan Steemann
9a1d7959e9
merged string-buffer.h and StringBuffer.h
2016-01-06 13:24:09 +01:00
Jan Steemann
f422576ee0
clang-format
2016-01-05 17:43:24 +01:00
jsteemann
e5db136f99
internal function signature cleanup
2016-01-05 01:12:11 +01:00
jsteemann
6745a5048e
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2016-01-05 00:25:24 +01:00
jsteemann
a6cb463e06
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2016-01-05 00:25:10 +01:00
jsteemann
8391084c15
less GC when idle
2016-01-05 00:24:32 +01:00
Frank Celler
1065a1bd2c
added work monitor
2016-01-04 15:33:06 +01:00
jsteemann
c20cf66e93
add cacheability info for explain
2016-01-03 00:52:36 +01:00
Max Neunhoeffer
fa17c1ac22
Add reporting about query state. Needed for synchronous replication.
2015-12-30 16:52:47 +01:00
Max Neunhoeffer
0e99d99ec6
Fix bug in shard distribution.
2015-12-29 15:48:13 +01:00
Max Neunhoeffer
e81af6274a
Add replicationFactor and replicationQuorum.
2015-12-28 14:47:27 +01:00
Max Neunhoeffer
394057fbda
Merge branch 'devel' into vpack
2015-12-23 15:09:20 +01:00
Jan Steemann
e62ccf7a46
added Ditches for traversal
2015-12-23 11:43:24 +01:00
Max Neunhoeffer
3996d2e6a2
Merge branch 'devel' into vpack
2015-12-23 08:35:59 +01:00
jsteemann
3d6582ed52
micro optimizations
2015-12-22 21:58:20 +01:00
Max Neunhoeffer
225c8cd843
Work on TODOs.
2015-12-22 16:50:09 +01:00
Jan Steemann
1b1e42b1b9
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-22 14:15:22 +01:00
Jan Steemann
e2e483e06a
potential fix
2015-12-22 12:34:48 +01:00
Jan Steemann
a3898bd54e
fixed test
2015-12-22 11:27:05 +01:00
Jan Steemann
dac697d24b
removed some leftover iostream includes
2015-12-21 18:20:43 +01:00
Jan Steemann
c0d5973adb
garbage collection changes
2015-12-21 16:41:54 +01:00
Max Neunhoeffer
61fe51072c
Merge branch 'devel' into vpack
2015-12-21 15:22:46 +01:00
Max Neunhoeffer
e8e6dc8597
More VPackObjectBuilder usages.
2015-12-21 15:22:19 +01:00
Jan Steemann
eb7ed34519
potential fix for _hasActiveExternals
2015-12-21 10:42:12 +01:00
Jan Steemann
4435a6f392
randomly shuffle V8 contexts
2015-12-21 10:28:56 +01:00
Max Neunhoeffer
9d303b69d7
Merge branch 'devel' into vpack
2015-12-21 09:47:42 +01:00
Max Neunhoeffer
0cf659aca2
Allow to set id at collection creation in cluster.
2015-12-21 09:46:50 +01:00
Max Neunhoeffer
0743885dec
Fix handling of VPackOptions in Parser/Builder usage.
...
Also fix TRI_json_t* handling for cluster methods.
2015-12-18 20:42:59 +01:00
Jan Steemann
3cfd8214a9
handle id and isSystem when creating collections
2015-12-18 20:16:39 +01:00
Jan Steemann
ba2ed30093
fix collection creation
2015-12-18 11:35:15 +01:00
Michael Hackstein
4907eaf66c
Fixed wrong usage of V8ToVPack
2015-12-17 15:21:37 +01:00
Michael Hackstein
3c4643993d
Fixed JS constructor for Edge Collections. The collection did not mention that it wants to be an edge collection
2015-12-17 15:06:20 +01:00
Michael Hackstein
c49876bf23
Fixed uninitialized access in VocbaseCollectionInfo constructor
2015-12-17 14:41:13 +01:00
Michael Hackstein
f708becba1
Fixed VPack parser error during startup
2015-12-17 11:31:20 +01:00
Jan Steemann
2b3f3f997b
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-17 10:59:30 +01:00
Michael Hackstein
82eea28fea
Merge branch 'vpack' of github.com:arangodb/arangodb into vpack
2015-12-16 19:03:15 +01:00
Michael Hackstein
a1c66851da
Further adoptions to the VocbaseCollectionInfo class in V8Server
2015-12-16 18:53:47 +01:00
Michael Hackstein
7f0792ab9b
Started adapting the V8Server file to class version of TRI_col_info_t
2015-12-16 11:46:18 +01:00
Jan Steemann
8e18d6463f
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-12-16 11:44:56 +01:00
Michael Hackstein
c475822a76
Adapted V8Traverser to class version of TRI_col_info_t
2015-12-16 11:43:44 +01:00
Jan Steemann
a694b7ef48
make_unique
2015-12-16 11:36:35 +01:00
Michael Hackstein
e6e66d4469
Fixed a bug in Traversal Path Uniqueness.
2015-12-16 10:51:54 +01:00
Max Neunhoeffer
0198b4576b
Merge branch 'devel' into ClustUp1
2015-12-15 20:40:52 +01:00
Michael Hackstein
fbbe4d08cd
Implemented edges on path uniqueness on single server traversal
2015-12-15 18:04:28 +01:00
Max Neunhoeffer
4451e491ec
Merge branch 'devel' into ClustUp1
2015-12-15 17:46:34 +01:00
Jan Steemann
ad8381ad6a
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-15 16:37:33 +01:00
Jan Steemann
8ed8681505
updated module name
2015-12-15 16:15:26 +01:00
Jan Steemann
602e321058
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-12-15 15:56:13 +01:00
Jan Steemann
442b614fb5
documentation update
2015-12-15 15:54:58 +01:00
Alan Plum
8853ede355
org/arangodb -> @arangodb
2015-12-15 15:51:44 +01:00
Jan Steemann
b123ffbe26
issue #1610
2015-12-15 15:41:50 +01:00
Max Neunhoeffer
8a69ca5367
Merge branch 'devel' into ClustUp1
2015-12-15 09:23:51 +01:00
Jan Steemann
84fae4ebcb
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-14 18:16:30 +01:00
Jan Steemann
8e7ac689a2
issue #1606 : fail gracefully on invalid index definitions
2015-12-14 16:58:05 +01:00
Max Neunhoeffer
7641feeb88
Fix ClusterComm library w.r.t. pointers.
2015-12-14 11:22:30 +01:00
Max Neunhoeffer
af4d729284
The ClusterComm C++11 revolution.
2015-12-11 23:26:10 +01:00
Jan Steemann
2bdbb13e2c
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-11 14:13:36 +01:00
Max Neunhoeffer
95b311f802
Merge branch 'devel' into ClustUp1
2015-12-11 13:33:33 +01:00
jsteemann
18e47457a6
fixes
2015-12-11 13:29:18 +01:00
Max Neunhoeffer
c11ec07564
Merge branch 'devel' into ClustUp1
2015-12-11 13:28:07 +01:00
Michael Hackstein
de680bb8bb
Merge branch 'vpack' of github.com:arangodb/arangodb into vpack
2015-12-11 09:31:03 +01:00
Jan Steemann
a406ced17c
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-10 21:33:43 +01:00
Jan Steemann
4335af50e7
replication improvements
2015-12-10 19:07:10 +01:00
Michael Hackstein
1a33c10557
Removed TRI_json_t from Vocbase/auth and did some refactoring in the internals there. Bye Bye CORE_MEM_ZONE
2015-12-10 14:08:49 +01:00
Max Neunhoeffer
d5eaccbfe5
Merge branch 'devel' into ClustUp1
2015-12-10 11:35:08 +01:00
Michael Hackstein
1af985003d
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2015-12-10 10:26:14 +01:00
Max Neunhoeffer
ea72850aeb
Fix bug in client tests.
2015-12-09 23:13:26 +01:00
Jan Steemann
fec29ac9c8
better compaction diagnostics
2015-12-09 19:02:22 +01:00
Michael Hackstein
51da7ab7af
Replication Applier configuration now uses a Destructor instead of TRI_Destroy. This commit is subject to inspection for memleaks
2015-12-09 16:29:14 +01:00
Max Neunhoeffer
b76d7d6a0c
Use new ObjectBuilder.
2015-12-09 15:45:52 +01:00
Michael Hackstein
acadb089ee
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2015-12-09 10:29:13 +01:00
Max Neunhoeffer
a0f6a3c9db
Merge branch 'devel' into ClustUp1
2015-12-08 23:21:46 +01:00
Max Neunhoeffer
6cedb210df
First try to fix deadlock problem. Tests not yet tried.
2015-12-08 18:54:05 +01:00
Jan Steemann
76d5f57af0
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-08 18:23:06 +01:00
Max Neunhoeffer
4e523a19ed
Merge branch 'devel' into ClustUp1
2015-12-08 17:02:14 +01:00
Jan Steemann
14a7269278
make parameter explicit
2015-12-08 12:58:51 +01:00
Max Neunhoeffer
257c6c897d
Fix bugs and tests.
2015-12-08 12:48:11 +01:00
Max Neunhoeffer
c11bdf9319
Two bug fixes.
2015-12-07 13:43:49 +01:00
Max Neunhoeffer
23f7d9432c
Finish createCollectionCoordinator change, not yet working.
2015-12-04 23:35:30 +01:00
Max Neunhoeffer
fad55bda0e
Another snapshot.
2015-12-04 23:05:45 +01:00
Max Neunhoeffer
10ff104236
Another snapshot.
2015-12-04 16:08:02 +01:00
Max Neunhoeffer
60df924ac1
Change data structures for collections in Agency.
...
Snapshot, compiles, untested, needs new VelocyPack.
2015-12-04 15:08:47 +01:00
Jan Steemann
5c033f566b
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-04 13:47:08 +01:00
Jan Steemann
785beaa625
cppcheck
2015-12-04 12:18:15 +01:00
Michael Hackstein
9495117238
Fixed invalid traversal optimization if vertex is not existing but filter would let null pass
2015-12-04 11:21:15 +01:00
Jan Steemann
b8cd633276
Windows fixes
2015-12-03 15:00:19 +01:00
Michael Hackstein
3ea14e66a3
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-12-03 10:19:17 +01:00
Michael Hackstein
23e2ac5da7
Fixed status reporting for Cluster and Single Server Case for the AQL Traverser Node.
2015-12-02 17:20:09 +01:00
Michael Hackstein
1a13af6f36
Merged remote changes with local stash
2015-12-02 11:34:58 +01:00
Jan Steemann
eb8899d9ae
applied changes suggested by cppcheck
2015-12-02 10:17:14 +01:00
Jan Steemann
9497ca9c7c
fixed memleaks
2015-12-01 17:07:32 +01:00
Jan Steemann
2bbcaa868f
fixed invalid memory usages
2015-12-01 16:48:55 +01:00
hkernbach
6d25ac57e9
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-12-01 11:25:58 +01:00
Jan Steemann
0dd207f9f5
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-01 11:14:12 +01:00
jsteemann
04e81ea851
more replication
2015-11-30 23:33:59 +01:00
Jan Steemann
f013c809ea
replication improvements
2015-11-30 18:27:31 +01:00
Michael Hackstein
e9a36a3fbf
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-11-30 14:17:44 +01:00
Michael Hackstein
a7b7d1ec18
Adapted traverser implementations to new Path Enumerator for improved pruning
2015-11-27 16:25:02 +01:00
Jan Steemann
bd8b70455a
replication improvements
2015-11-27 16:16:15 +01:00
Wilfried Goesgens
55b8fb0c6f
Fix links not to point to .html - .md is right, else the non-html generators won't work properly.
2015-11-27 11:51:29 +01:00
Jan Steemann
db078f1554
changed some APIs of AssocMulti
2015-11-25 15:40:01 +01:00
Jan Steemann
981c578812
changed other index APIs
2015-11-25 15:05:02 +01:00
Jan Steemann
0ee556d07d
added transaction to hash index APIs
2015-11-25 14:55:43 +01:00
Jan Steemann
9ef5b4746a
removed several includes from Common.h
2015-11-25 12:21:55 +01:00
Jan Steemann
75e4e6e815
added transaction to all signatures
2015-11-24 17:34:23 +01:00
Jan Steemann
317ef4b8a2
remove, not working yet
2015-11-24 11:30:15 +01:00
Michael Hackstein
aa8e1daaf7
Moved String->VertexId conversion into the general traverser. It is required outside of V8Server
2015-11-24 10:24:19 +01:00
Jan Steemann
bd090571fb
insertion of documents using vpack
2015-11-23 18:34:36 +01:00
Jan Steemann
982568aec7
insertv
2015-11-19 16:52:39 +01:00
Jan Steemann
89e0f887b9
velocypack update
2015-11-19 13:28:40 +01:00
Michael Hackstein
001dd4debf
The local traverser now early filters on vertices
2015-11-18 16:14:17 +01:00
Michael Hackstein
201c54e6b0
Removed unnecessary constructors
2015-11-18 15:32:04 +01:00
Michael Hackstein
1f6519b01e
Using early abortion in local Traverser for AQL. Now it's cluster time
2015-11-18 14:50:03 +01:00
Michael Hackstein
f880592025
Used the TraverserExpression in Local case for Edges. Right now it fails hardcoded.
2015-11-18 11:26:55 +01:00
Michael Hackstein
0adbef4f76
Transformed the TraversalExpression vector into a map ordered by access level. This is way more convenient on the Traverser side to be used.
2015-11-17 16:25:45 +01:00
jsteemann
f5e71197ce
document creation
2015-11-17 01:46:58 +01:00
Michael Hackstein
5eaf990405
Fixed converting VertexId -> String in Cluster
2015-11-16 20:13:44 +01:00
Jan Steemann
b0ea7dd562
added V8ToVPack conversion
2015-11-13 17:27:35 +01:00
Michael Hackstein
e24135df09
Extracted some more common functionality from V8 and Cluster Traverser to the abstract class
2015-11-13 14:54:32 +01:00
Michael Hackstein
b7a8a364fc
Started Including the Cluster Traversal in AQL. Right now the result is empty but the server will not crash any more. Now starting with the real implementation.
2015-11-13 11:08:18 +01:00
Michael Hackstein
8d0d921ab6
Included two Abstract classes for Traversals. Traverser and TraversalPath. Implemented both of them for Single-Server Traversals.
2015-11-12 16:25:36 +01:00
Michael Hackstein
fbee0b0859
Started to transform Parts of AQL Query to VPack. Especially the QueryResult is now using VPack internally.
2015-11-12 11:09:35 +01:00
Michael Hackstein
a649e36431
Fixed output of QUERY_CACHE json
2015-11-08 15:00:39 +01:00
Wilfried Goesgens
7a54982eb4
Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
2015-11-06 13:53:21 +01:00
Jan Steemann
3c04642550
moved object cache from `db` object into object of its own
2015-11-05 14:20:02 +01:00
Wilfried Goesgens
bb9039c855
Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
2015-10-29 16:01:01 +01:00
Jan Steemann
31cacfb9f9
do not allow remaining in already-deleted database with _useDatabase()
2015-10-28 11:22:58 +01:00
Wilfried Goesgens
951165ab1e
Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
...
Conflicts:
arangod/Aql/grammar.cpp
arangod/Aql/grammar.h
js/common/modules/org/arangodb/graph-examples/example-graph.js
2015-10-28 11:08:18 +01:00
jsteemann
5fff134c80
added CXX implementations of `WITHIN` and `NEAR` AQL functions
2015-10-27 23:24:00 +01:00
Jan Steemann
3cf1b237ee
dfdb improvements
2015-10-23 19:03:24 +02:00
Jan Steemann
e2136ea21a
do not allow index creation with multiple [*] in single attribute
2015-10-23 11:45:17 +02:00
jsteemann
058fec96f6
removed some dependencies
2015-10-23 00:15:07 +02:00
Wilfried Goesgens
cd6cc35def
Adjust the stage to the now non-void pointered index implementation.
2015-10-22 11:12:21 +02:00
Wilfried Goesgens
dae95de667
Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
2015-10-21 14:54:01 +02:00
Jan Steemann
509ab83ed5
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
2015-10-21 10:18:16 +02:00
Jan Steemann
56973d196e
change to eventual write lock
2015-10-20 18:43:59 +02:00
Jan Steemann
aa3039cece
fixes for cluster tests
2015-10-20 18:10:53 +02:00
jsteemann
adebf6e7c9
removed some iostream includes
2015-10-12 21:40:46 +02:00
Michael Hackstein
af4ff37334
Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions
2015-10-08 12:50:06 +02:00
Jan Steemann
4bf3bb047b
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
2015-10-07 17:25:56 +02:00
Michael Hackstein
5a026db641
Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions
2015-10-07 16:13:04 +02:00
Frank Celler
4b0911c799
added debugging header x-arango-v8-context
2015-10-07 13:37:35 +02:00
Jan Steemann
a1de2bfcc1
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
...
Conflicts:
CHANGELOG
2015-10-07 10:18:21 +02:00
Frank Celler
459c5b2c7e
changed to atomic
2015-10-07 09:47:17 +02:00
Michael Hackstein
db0e414776
Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions
2015-10-07 09:10:56 +02:00
Michael Hackstein
86ab20ffb0
Started adapting the Skiplist Index to the new index Node. WIP does not compile
2015-10-06 17:49:44 +02:00
Jan Steemann
8dfcc98694
use ctor/dtor for TRI_hash_index_search_value_t
2015-10-06 17:09:59 +02:00
Alan Plum
820e694d0c
Re-implement cleanupCancelation
2015-10-06 15:10:43 +02:00
Michael Hackstein
37a4ecfbb3
Modified the IndexIterator API to return TRI_doc_mptr_t instead of *_copy_t. Index Range node now manages a list of already returned documents, making the resulting documents distinct
2015-10-06 10:45:42 +02:00
Jan Steemann
0ea2247eb0
scan-build
2015-09-30 17:28:52 +02:00
Jan Steemann
4249095456
issue #1507 : added optional *allowImplicit* sub-attribute for transactions
2015-09-24 15:50:00 +02:00
Michael Hackstein
1a7f414c16
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-09-18 12:21:39 +02:00
Frank Celler
c4d1fff729
new traversal
2015-09-18 10:40:28 +02:00
Jan Steemann
dc7ac83354
incremental sync fixes
2015-09-15 14:20:08 +02:00
Jan Steemann
b0a924c5a8
sync
2015-09-11 11:56:38 +02:00
Jan Steemann
29d37eb346
added diagnosis functions
2015-09-07 20:48:42 +02:00
Jan Steemann
8b599b5274
changed some include headers around
2015-09-07 17:09:10 +02:00
Jan Steemann
21ae579072
potential fix for issue #1474
2015-09-07 09:53:58 +02:00
Jan Steemann
e602ca5662
issue #1471 : document() vs documents() parameters (_key and _id)
2015-09-04 18:13:23 +02:00
CoDEmanX
3a9648d78a
More Americanization
2015-09-03 22:25:43 +02:00
Michael Hackstein
630c8fd42f
Improved Primary Sequential read
2015-09-03 16:25:24 +02:00
CoDEmanX
956b396e43
Change spelling of 'initialize' to American English (actual code and files)
2015-09-01 17:29:22 +02:00
CoDEmanX
b4593a7e82
Change spelling of 'initialize' to American English (comments and log messages only)
2015-09-01 17:07:21 +02:00
Michael Hackstein
bb03d0001b
Fixed memlead in index operator. Destructor was not virtual
2015-09-01 15:38:25 +02:00
Michael Hackstein
027445697d
Renamed SkiplistIndex2 to SkiplistIndex ;)
2015-09-01 15:05:49 +02:00
Michael Hackstein
dd20dc4c7f
Finished with C++ification of SkiplistIndex and index operators. Now to be tested.
2015-09-01 15:05:47 +02:00
Jan Steemann
a3ee707f6f
less creations of empty headers maps
2015-08-30 22:11:18 +02:00
Michael Hackstein
81fa8018b0
Improved primary index lookups to use parameter by reference instead of byPointer. less error prone. Fixed some issues with it.
2015-08-28 09:28:24 +02:00
Michael Hackstein
082e49f2c1
Further adoptions of internal functionality to new Primary index
2015-08-28 09:28:23 +02:00
Jan Steemann
21793ff9f7
cppcheck
2015-08-26 21:36:44 +02:00
Michael Hackstein
4effa2291e
Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing
2015-08-26 10:41:27 +02:00
Jan Steemann
b0c12a9d57
added indexFigures
2015-08-26 10:21:36 +02:00
Jan Steemann
f4c542795c
getIndexes(true)
2015-08-26 09:48:48 +02:00
Jan Steemann
0d0e652bdc
fixed VS compile warnings
2015-08-25 18:02:00 +02:00
Jan Steemann
a440d65ee2
fix limits
2015-08-25 16:57:00 +02:00
Michael Hackstein
40c1361244
Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing
2015-08-25 16:40:31 +02:00
Jan Steemann
7540059f36
uint32_t => uint64_t
2015-08-25 15:08:09 +02:00
Jan Steemann
03fa10dad8
less initial syncing when resuming replication
2015-08-24 17:39:11 +02:00
Michael Hackstein
ba8264eada
AssocUnique is now a templated index. Foundation to move primary index to use it
2015-08-24 16:41:16 +02:00
Jan Steemann
b58ecfe206
added firstTick()
2015-08-21 17:11:40 +02:00
Jan Steemann
9e08b1ebc5
add tickRanges() function
2015-08-21 17:00:32 +02:00
Michael Hackstein
b708a7ae68
Merge remote-tracking branch 'origin/devel' into array_indexing
2015-08-21 15:34:49 +02:00
Michael Hackstein
9bb7c0dec6
The skiplist index is now able to index arrays as well
2015-08-21 11:04:04 +02:00
Jan Steemann
f0ef3d450f
refactoring
2015-08-20 18:25:47 +02:00
Michael Hackstein
4bb8508d82
Implemented a new improved version of the Array index insertion function.
2015-08-20 14:03:17 +02:00
Jan Steemann
f587b2ca6a
replication refactoring
2015-08-19 16:13:53 +02:00
Jan Steemann
56966f7081
fix warning
2015-08-19 13:07:04 +02:00
Michael Hackstein
59e8ea3fad
Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing
2015-08-19 11:56:34 +02:00
Jan Steemann
6076bc632e
fixed Makefile
2015-08-19 11:37:51 +02:00
Jan Steemann
2c640965b8
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-08-19 11:19:46 +02:00
Jan Steemann
9f0384284f
moved files
2015-08-19 11:19:37 +02:00
Willi Goesgens
01a1273a87
Merge pull request #1444 from aurelijusb/documentation
...
Small documentation improvements
2015-08-19 10:23:36 +02:00
Jan Steemann
4e771b2728
replication improvements
2015-08-17 18:41:05 +02:00
Michael Hackstein
e867181a72
Merge remote-tracking branch 'origin/eimerung_hashindex' into array_indexing
2015-08-17 15:58:53 +02:00
Michael Hackstein
ae989cf2ca
Skiplist index now uses the unified index_element.
2015-08-17 12:43:14 +02:00
Jan Steemann
453aa78633
use std::vector
2015-08-17 12:43:13 +02:00
Jan Steemann
a8428877e7
some cleanup
2015-08-17 12:43:12 +02:00
Michael Hackstein
8e3e2d547d
Do not push <Class const> into vector. It does not work everywhere
2015-08-17 12:43:11 +02:00
Max Neunhoeffer
d474c31513
Use ThreadProtector for lists of databases.
2015-08-17 12:43:07 +02:00
Michael Hackstein
17a8f73a06
Now the input for indexes is parsed using the new attribute parser. This means the flags for expanded Attributes are set. Also introduced a transformation function to transform an attributeName list back into a string.
2015-08-17 12:43:07 +02:00
Michael Hackstein
8fbb2739b0
The indexes can now use the new AttributeName struct which contains a flag if the attribute should be Array-Indexed. Right now this flag is hard-coded to false in all cases and not persisted.
2015-08-17 12:43:05 +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
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
7c05077668
indentation
2015-08-12 23:40: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
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
434d6167db
added configuration option `--database.throw-collection-not-loaded-error`
2015-08-11 12:31:42 +02:00
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