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
jsteemann
4a62f3d389
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-11 18:38:30 +01:00
Jan Steemann
a2940b20ca
fixed leak in ExampleMatcher
2015-12-11 17:15:45 +01:00
Michael Hackstein
1af985003d
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2015-12-10 10:26:14 +01:00
Jan Steemann
fec29ac9c8
better compaction diagnostics
2015-12-09 19:02:22 +01:00
Michael Hackstein
5dce6b512f
Added a helper to build an index from VelocyPack description
2015-12-07 14:23:05 +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
9c0d7420f4
removed unused struct attribute
2015-12-01 12:56:41 +01:00
Jan Steemann
0ee556d07d
added transaction to hash index APIs
2015-11-25 14:55:43 +01:00
Jan Steemann
19b2d28167
pass transaction to index APIs
2015-11-25 14:42:29 +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
Jan Steemann
bd090571fb
insertion of documents using vpack
2015-11-23 18:34:36 +01:00
Jan Steemann
7bd6a00c84
changed API
2015-11-23 13:26:33 +01:00
Jan Steemann
bcb31ab4c2
insertv continued
2015-11-19 16:46:06 +01:00
Jan Steemann
dc53e9fe95
move away from mutex to atomic variables
2015-11-05 10:58:35 +01:00
Jan Steemann
01499dde43
added deadlock detection for lazy locking of collections
2015-10-29 11:57:22 +01:00
Michael Hackstein
48a445d963
Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions
2015-10-13 16:26:55 +02:00
Michael Hackstein
4c6b0f283a
AttributeNames from the attribute parser are now non-nested attributes. They offer a function to join nested elements
2015-10-13 16:26:11 +02:00
Jan Steemann
deb0a132ae
rewrite of optimizer rule `use-index-for-sort`
2015-10-13 15:00:09 +02:00
jsteemann
5c0ff48478
cppcheck
2015-09-22 23:40:57 +02:00
jsteemann
0670f504a4
fixed sizeDead / numberDead calculation on collection load
2015-09-16 01:19:42 +02:00
Jan Steemann
b6a1684605
primary index speedup
2015-09-07 16:22:39 +02:00
Jan Steemann
39939fc1c9
primary index initial insertion speedup
2015-09-07 13:05:02 +02:00
Michael Hackstein
630c8fd42f
Improved Primary Sequential read
2015-09-03 16:25:24 +02:00
Jan Steemann
2e617ac0cc
Merge branch 'american-english' of https://github.com/CoDEmanX/ArangoDB into devel
...
Conflicts:
arangod/Wal/Slots.cpp
lib/Basics/debugging.cpp
lib/Basics/files.cpp
2015-09-02 13:14:49 +02:00
Jan Steemann
0e802d6438
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-09-02 10:20:18 +02:00
Jan Steemann
a80d6635ab
create fat datafiles
...
This prevents SIGBUS when a sparse datafile is accessed and the disk is full. In
this case the mmapped region is not necessarily backed by physical memory, and
accessing the memory may crash the program
2015-09-02 10:18:24 +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
027445697d
Renamed SkiplistIndex2 to SkiplistIndex ;)
2015-09-01 15:05:49 +02:00
Claudius Weinberger
f52beeacb0
fixed invalid index lookupus
2015-09-01 12:38:51 +00:00
Michael Hackstein
ef259e5088
Removed external resizing of index in document-collection
2015-08-28 10:19:39 +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
d6839ad519
Fixed another BAD_ACCESS
2015-08-28 09:28:24 +02:00
Michael Hackstein
e0e373fcf1
Removed shape counting test
2015-08-28 09:28:24 +02:00
Michael Hackstein
87b28a1277
Pleased the compiler for the new Primary Index in document-collection.
2015-08-28 09:28:23 +02:00
Michael Hackstein
a786b797d7
Adoption of document-collection to new primary index
2015-08-28 09:28:23 +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
f4c542795c
getIndexes(true)
2015-08-26 09:48:48 +02:00
Jan Steemann
75ad81401b
slightly improved logging
2015-08-25 17:35:54 +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
31a6547d4c
fix replication resumption
2015-08-21 15:57:24 +02:00
Michael Hackstein
4bb8508d82
Implemented a new improved version of the Array index insertion function.
2015-08-20 14:03:17 +02:00
Michael Hackstein
d69c9a920e
Fixed an issue with expanded attribteus to pid strings
2015-08-17 12:43:13 +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
Michael Hackstein
d7d00a5d0d
Fixed index comparision with multiple components. Introduced by AttributeName format.
2015-08-17 12:43:09 +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
Jan Steemann
46565e4daf
fix parallel insertion
2015-08-17 12:43:05 +02:00
Jan Steemann
da38382202
remove CONST_CAST helper
2015-08-07 13:18:21 +02:00
Jan Steemann
2a88c76e0e
fix parallel insertion
2015-08-05 15:16:07 +02:00
Jan Steemann
38227a81f8
speed up initial edge index creation
2015-08-03 18:27:50 +02:00
Jan Steemann
b331c22d37
use std::vector
2015-07-29 16:07:05 +02:00
Jan Steemann
6d7ccd7699
move shaper to cxx
2015-07-28 17:38:31 +02:00
Jan Steemann
4d0872f2b9
more cxx
2015-07-20 18:42:02 +02:00
Jan Steemann
8372c33993
fixed invalidation with index creation etc., adjusted tests
2015-06-25 23:40:31 +02:00
Jan Steemann
ffab0ef47d
renamed file
2015-06-18 17:29:49 +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
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
Jan Steemann
4dde6e49cd
goodbye barriers, welcome ditches
2015-05-28 10:23:30 +02:00
Jan Steemann
8d29b600d3
fixed Windows compile errors
2015-05-26 18:40:27 +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
Jan Steemann
a9f2769ffa
now compiles and links
2015-05-23 04:31:13 +02: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
bc76cf5079
use std::vector
2015-05-22 12:58:40 +02:00
Jan Steemann
3033846791
catch exception when filling indexes
2015-05-22 09:29:56 +02:00
Michael Hackstein
86c7f87dd3
Merge branch 'cppTrav2' into devel
2015-05-19 16:17:27 -07:00
Michael Hackstein
5360172a7b
The ExampleMatcher is now able to use a v8 json object as example for matching in the constructor
2015-05-15 09:56:16 -07:00
Michael Hackstein
7ba7482d58
Implemented an ExampleMatcher class to be used for path filtering. Is now used in byExample queries as well. API not fixed yet.
2015-05-14 13:29:42 -07:00
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
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
Max Neunhoeffer
65c4c5629d
Highly experimental aggregation experiment. Do not use.
2015-04-30 00:44:39 -07:00
Max Neunhoeffer
1bea0bede9
Finish new ReadWriteLockCPP11 for collections.
2015-04-29 21:03:05 -07:00
Jan Steemann
629883041c
added asserts
2015-04-21 12:08:09 +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
Jan Steemann
d8597d9662
fixed edge index lookups in cluster
2015-04-13 14:36:16 +02:00
Frank Celler
4c5d57f1b8
merged Exceptions.h and Exception.h
2015-03-23 14:05:19 +01:00
Jan Steemann
7dc3fc3d5c
safely create collections and databases
2015-03-19 15:56:12 +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
b5fb457d7b
ensure there is a datafile info entry for each datafile of a collection
2015-03-18 17:44:38 +01:00
Jan Steemann
659ef9e6af
made _uncollectedLogfileEntries an atomic variable
2015-03-18 17:39:36 +01:00
Jan Steemann
7f121fc352
use barrier
2015-03-04 11:35:32 +01:00
Jan Steemann
bc4ad22ab6
parallel secondary index building when loading collections
2015-03-03 10:52:51 +01:00
Jan Steemann
1461d75ed4
improve collection loading time
...
This patch reduces collection loading time by preallocating enough space in primary index ahead of time.
When a collection is closed, the number of documents in the collection will be stored in the collection's JSON info file.
This value is used to determine the initial size for the primary index when the collection is loaded next time.
Datafile iteration has also been made slightly faster.
The above changes will have a significant benefit when the collection's datafiles are already in the OS buffer cache, and when there are no secondary indexes.
Loading datafiles from disk or building secondary indexes may be more time-consuming than the improvements reapable by this patch, but the patch shouldn't hurt anyway.
2015-02-26 16:35:51 +01:00
Jan Steemann
f29591135a
adjusted geo index API
2015-02-18 14:59:46 +01:00
Jan Steemann
a26bd2b223
auto-migrate old hash indexes
2015-02-10 11:34:51 +01:00
Jan Steemann
82c7522d4e
test fixes
2015-02-09 20:08:06 +01:00
Jan Steemann
003d7e9112
sparse indexes, initial commit, untested
2015-02-07 03:07:41 +01:00
Jan Steemann
70fba85a67
enforce an error code
2015-01-22 15:20:57 +01:00
Jan Steemann
eac7ce5d13
removed unused define
2015-01-16 21:58:13 +01:00
Jan Steemann
2d7a7b87aa
move variable declarations to usage
2015-01-13 20:46:33 +01:00
Jan Steemann
f3b142849f
fixed leaks during reverts
2015-01-03 01:28:23 +01:00