Michael Hackstein
b0df08822f
Removed obsolete function for HashIndex insertion
2015-08-17 16:10:43 +02:00
Michael Hackstein
33c3c0474e
Removed obsolte header file in old hashindex
2015-08-17 16:04:18 +02:00
Michael Hackstein
e867181a72
Merge remote-tracking branch 'origin/eimerung_hashindex' into array_indexing
2015-08-17 15:58:53 +02:00
Jan Steemann
22cff81a5c
added status methods for logfiles
2015-08-17 15:04:26 +02:00
Max Neunhoeffer
6ac0913dbe
Adapt to changed VocShaper.
2015-08-17 12:57:52 +02:00
Max Neunhoeffer
f279bf5778
Fix unit tests with latest hash index changes.
2015-08-17 12:57:52 +02:00
Max Neunhoeffer
dac7fb06e0
Finish change to hash index. Compiles, unit-tests still broken in one place.
2015-08-17 12:57:52 +02:00
Max Neunhoeffer
5fe46dbcb9
Some more changes. Not yet through.
2015-08-17 12:57:52 +02:00
Max Neunhoeffer
7217111192
First step for hashindex, this revision is broken.
...
Changes are only done half-way.
2015-08-17 12:57:52 +02:00
Michael Hackstein
0baf8143d9
Fixed a bug in the usage of HashIndex tables, with the new index element.
2015-08-17 12:43:14 +02:00
Michael Hackstein
33935db4b6
Attribtue missing will not be returned when inserting elements into the index any more.
2015-08-17 12:43:14 +02:00
Michael Hackstein
ae989cf2ca
Skiplist index now uses the unified index_element.
2015-08-17 12:43:14 +02:00
Michael Hackstein
1d774ade12
Removed hash_index_element and used the unified index_element instead. Also moved allocation of a new index entry closer to the spot where it is actually filled. This allows for lazy allocation.
2015-08-17 12:43:14 +02:00
Michael Hackstein
8a4ce5bb8b
Added a new general purpose index_element
2015-08-17 12:43:13 +02:00
Michael Hackstein
5a5d1de7ea
Moved the insertion of elements into an indox to the super class. Is only used for Skiplist and Hash. Might probably be used by other indicies later
2015-08-17 12:43:13 +02:00
Michael Hackstein
d69c9a920e
Fixed an issue with expanded attribteus to pid strings
2015-08-17 12:43:13 +02:00
Jan Steemann
453aa78633
use std::vector
2015-08-17 12:43:13 +02:00
Max Neunhoeffer
1ba7587fc0
Rename ThreadProtector to DataProtector.
2015-08-17 12:43:12 +02:00
Jan Steemann
56231413be
use unique_ptr
2015-08-17 12:43:12 +02:00
Jan Steemann
a8428877e7
some cleanup
2015-08-17 12:43:12 +02:00
Jan Steemann
28da1d5066
use std::vector
2015-08-17 12:43:11 +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
Jan Steemann
98106510d2
remove CONST_CAST helper
2015-08-17 12:43:11 +02:00
Max Neunhoeffer
43a4ba0285
Delete a TRI_vector_t usage.
2015-08-17 12:43:10 +02:00
Jan Steemann
fc900b6451
remove compiler warning
2015-08-17 12:43:10 +02:00
Max Neunhoeffer
aac9f393d8
Fix bugs with database lists on coordinator.
2015-08-17 12:43:10 +02:00
Jan Steemann
205d1e73ed
fix Visual Studio compile errors
2015-08-17 12:43:09 +02:00
Michael Hackstein
d7d00a5d0d
Fixed index comparision with multiple components. Introduced by AttributeName format.
2015-08-17 12:43:09 +02:00
Max Neunhoeffer
a18faae89f
Untemplatify ThreadProtector for those with gcc < 4.9.2.
...
We will revert this later once everybody has gcc >= 4.9.2.
2015-08-17 12:43:09 +02:00
Jan Steemann
ba84a982b6
use unique_ptr
2015-08-17 12:43:09 +02:00
Jan Steemann
907e6368c6
some unused function cleanup
2015-08-17 12:43:09 +02:00
Jan Steemann
5494563601
removed forward for non-existing type
2015-08-17 12:43:08 +02:00
Michael Hackstein
c2338d80d0
A user can now create an indux on attribute[*] which will put an index on attribute and ignores the expand flag. Does not harm any feature in AQL now.
2015-08-17 12:43:08 +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
Jan Steemann
40aab297fb
remove useless reserve
2015-08-17 12:43:06 +02:00
Jan Steemann
cc42bd1c85
log logfiles location on startup
2015-08-17 12:43:06 +02:00
Jan Steemann
a775195737
fixed potential value overruns
2015-08-17 12:43:06 +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
Jan Steemann
91ac382c33
fixed invalid iterator
2015-08-17 12:43:05 +02:00
Jan Steemann
c245f103e1
no explicit make_pair
2015-08-17 12:43:05 +02:00
Jan Steemann
d0fd1ea373
use unique_ptr
2015-08-17 12:43:05 +02:00
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