Jan Steemann
c8f16f8833
switched to std::vector
2016-01-19 11:50:39 +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
9f24c7ad2f
Removed TRI_json_t from VocBase/document-collection. YaY
2016-01-13 15:55:46 +01:00
Jan Steemann
687d6133f0
comments reformatting
2016-01-11 09:52:39 +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
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
Michael Hackstein
82eea28fea
Merge branch 'vpack' of github.com:arangodb/arangodb into vpack
2015-12-16 19:03:15 +01:00
Michael Hackstein
e40679e4b5
Integrated the new VocbaseCollectionInfo in Document-collection
2015-12-16 18:59:03 +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
b6752faf0b
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-11-25 11:44:32 +01:00
Jan Steemann
9d217b92ce
improved DocumentAccessor
2015-11-25 11:43:01 +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
6f262b6083
added DocumentAccessor
2015-11-18 13:58:14 +01:00
Jan Steemann
0b13b01e77
fixed potentially invalid pointer access
2015-11-11 17:03:36 +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
027445697d
Renamed SkiplistIndex2 to SkiplistIndex ;)
2015-09-01 15:05:49 +02:00
Michael Hackstein
e0e373fcf1
Removed shape counting test
2015-08-28 09:28:24 +02:00
Jan Steemann
f4c542795c
getIndexes(true)
2015-08-26 09:48:48 +02:00
Jan Steemann
1911d4086d
forgot to commit
2015-08-25 16:08:46 +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
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
a6b2998b5d
added try...catch blocks for V8-to-CPP bindings
2015-06-08 16:04:42 +02:00
Jan Steemann
4cd37f8d55
fix MacOS compile errors
2015-05-29 10:01:19 +02:00
Jan Steemann
4dde6e49cd
goodbye barriers, welcome ditches
2015-05-28 10:23:30 +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
Michael Hackstein
86c7f87dd3
Merge branch 'cppTrav2' into devel
2015-05-19 16:17:27 -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
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
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
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
1bea0bede9
Finish new ReadWriteLockCPP11 for collections.
2015-04-29 21:03:05 -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
Jan Steemann
6360c798e7
added option `--database.ignore-logfile-errors`
...
Conflicts:
arangod/RestServer/ArangoServer.cpp
2015-03-18 17:46:11 +01:00
Jan Steemann
659ef9e6af
made _uncollectedLogfileEntries an atomic variable
2015-03-18 17:39:36 +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
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
2d7a7b87aa
move variable declarations to usage
2015-01-13 20:46:33 +01:00
Jan Steemann
481a16fd7a
removed bitarray indexes
2014-09-15 14:19:38 +02:00
Jan Steemann
87afcf5e8d
the great rename
2014-09-13 00:10:11 +02:00
Jan Steemann
8f9591ca1e
properly stringify _from and _to attributes using CollectionNameResolver
2014-08-13 15:59:56 +02:00
Jan Steemann
ea418088c5
fixed simple expressions
2014-08-13 15:39:56 +02:00
Jan Steemann
196441b9b4
improved v8 object generation
2014-08-05 13:23:37 +02:00
Jan Steemann
4a2d943d45
added helper methods
2014-08-05 10:56:37 +02:00
Max Neunhoeffer
bfe568f48a
Add virtual destructor for TRI_doc_mptr_t.
2014-07-28 09:40:31 +02:00
Jan Steemann
b36ad17cc6
finished --wal.suppress-shape-information
2014-07-22 15:16:49 +02:00
Jan Steemann
7554ead5d4
fixed recovery
2014-07-03 16:58:10 +02:00
Jan Steemann
56a9361f9f
fill secondary indexes after recovery only
2014-06-29 00:18:21 +02:00
Jan Steemann
067dbf63b2
WAL recovery
2014-06-27 19:11:41 +02:00
Jan Steemann
1bb171787f
clean up when journal creation fails
2014-06-26 13:03:45 +02:00
Jan Steemann
07d244488d
changed crud signatures
2014-06-26 12:37:01 +02:00
Jan Steemann
d56719ae4d
simplification of signatures
2014-06-24 00:32:40 +02:00
Frank Celler
4dcf5dc817
updated disclaimer
2014-06-20 16:40:35 +02:00
Jan Steemann
6c0dcf85c4
WAL DDL markers
2014-06-19 14:33:38 +02:00
Jan Steemann
8b9cdbe075
fixed tests
2014-06-18 16:34:11 +02:00
Jan Steemann
b952c6724d
recovery
2014-06-17 18:19:04 +02:00
Jan Steemann
b54b89d68d
key generator rework
2014-06-14 00:33:40 +02:00
Jan Steemann
d7f35bcc7b
fixed datafile ticks issues
2014-06-13 14:46:21 +02:00
Jan Steemann
bbdbbd5736
removed implicit parameter from function signature
2014-06-13 01:59:19 +02:00
Jan Steemann
bc52f3408f
recovery, not functional yet
2014-06-12 18:13:48 +02:00
Max Neunhoeffer
b8ac498e8b
Add shaper test (inactive for now).
2014-06-11 14:21:48 +02:00
Max Neunhoeffer
f0bef2496f
Make _shaper private and use getter/setter.
2014-06-11 11:18:22 +02:00
Max Neunhoeffer
c2bddb1c19
Let TRI_document_collection_t inherit from TRI_collection_t.
2014-06-11 10:51:47 +02:00
Max Neunhoeffer
2527e34d9d
stuct TRI_collection_t and struct TRI_document_collection_t
2014-06-11 09:37:07 +02:00
Max Neunhoeffer
c5e5e64135
Initialise _dataptr in constructor.
...
Fix a bug found by a unittest.
2014-06-10 21:42:23 +02:00
Max Neunhoeffer
12a5ba03fd
Move class TransactionBase to voc-types.h
2014-06-10 16:37:35 +02:00
Max Neunhoeffer
dbfe62fd66
TRI_SelectByExample now uses copies of master pointers.
2014-06-10 14:32:57 +02:00
Jan Steemann
14097f5473
create fake transaction for loading collections
2014-06-10 14:01:35 +02:00
Max Neunhoeffer
d4b5ee25ee
Fix protection assertions.
2014-06-10 13:16:01 +02:00
Max Neunhoeffer
3c0c785ba5
First set of protection assertions.
2014-06-10 13:03:04 +02:00
Jan Steemann
3f22fa03be
fixed some indexes
2014-06-08 03:03:16 +02:00
Jan Steemann
72a102e794
major internal changes
2014-06-08 00:12:53 +02:00
Jan Steemann
3f6cb4d9ed
fixed update policy
2014-06-06 22:53:59 +02:00
Jan Steemann
368091d7c3
function cleanup
2014-06-06 21:35:34 +02:00
Jan Steemann
982673ef52
read "old" transactions when loading a database
2014-06-06 18:32:48 +02:00
Jan Steemann
cb4ca68c41
treat transaction markers in datafiles as garbage and ignore them
2014-06-06 17:24:36 +02:00
Max Neunhoeffer
fd2c99443f
Introduce TRI_doc_mptr_copy_t for copies of master pointers.
...
Did not yet run through all occurrences of TRI_doc_mptr_t to see
whether they have to be TRI_doc_mptr_copy_t.
2014-06-06 16:59:32 +02:00